Class NSFileProviderDomain

  • All Implemented Interfaces:
    NSObject

    public class NSFileProviderDomain
    extends NSObject
    File provider domain. A file provider domain can be used to represent accounts or different locations exposed within a given file provider. Domains can be registered to the system using [@c] -[NSFileProviderMananger addDomain:completionHandler:] By default, a file provider extension does not have any domain. On the extension side, a separate instance of NSFileProviderExtension will be created for each @c NSFileProviderDomain registered. In that case, the [@c] NSFileProviderExtension.domain properties will indicate which domain the NSFileProviderExtension belongs to (or nil if none). All the files on disk belonging to the same domain must be grouped inside a common directory. That directory path is indicated by the [@p] pathRelativeToDocumentStorage property.
    • Constructor Detail

      • NSFileProviderDomain

        protected NSFileProviderDomain​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • displayName

        public java.lang.String displayName()
        The display name shown by the system to represent this domain.
      • hash_static

        public static long hash_static()
      • identifier

        public java.lang.String identifier()
        The identifier - as provided by the file provider extension.
      • initWithIdentifierDisplayNamePathRelativeToDocumentStorage

        public NSFileProviderDomain initWithIdentifierDisplayNamePathRelativeToDocumentStorage​(java.lang.String identifier,
                                                                                               java.lang.String displayName,
                                                                                               java.lang.String pathRelativeToDocumentStorage)
        Initialize a new NSFileProviderDomain The file provider extension implementation can pick any @c identifier as it sees fit to identify the group of items. [@c] NSFileProviderExtension.documentStorageURL.
        Parameters:
        displayName - a user visible string representing the group of items the file provider extension is using.
        pathRelativeToDocumentStorage - a path relative to
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • pathRelativeToDocumentStorage

        public java.lang.String pathRelativeToDocumentStorage()
        The path relative to the document storage of the file provider extension. Files belonging to this domains should be stored under this path.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()