Package apple.uikit

Class UIDocumentPickerViewController

    • Constructor Detail

      • UIDocumentPickerViewController

        protected UIDocumentPickerViewController​(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)
      • attemptRotationToDeviceOrientation

        public static void attemptRotationToDeviceOrientation()
      • 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()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)
      • debugDescription_static

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

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

        public static long hash_static()
      • 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()
      • prepareInterstitialAds

        public static void prepareInterstitialAds()
      • 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()
      • documentPickerMode

        public long documentPickerMode()
      • initWithDocumentTypesInMode

        public UIDocumentPickerViewController initWithDocumentTypesInMode​(NSArray<java.lang.String> allowedUTIs,
                                                                          long mode)
        Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
      • initWithNibNameBundle

        public UIDocumentPickerViewController initWithNibNameBundle​(java.lang.String nibNameOrNil,
                                                                    NSBundle nibBundleOrNil)
        Description copied from class: UIViewController
        The designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.
        Overrides:
        initWithNibNameBundle in class UIViewController
      • initWithURLInMode

        public UIDocumentPickerViewController initWithURLInMode​(NSURL url,
                                                                long mode)
        Initializes the picker for exporting a local file to an external location. The valid modes are Export and Move. The new location will be returned using `didPickDocumentAtURL:`.
      • allowsMultipleSelection

        public boolean allowsMultipleSelection()
      • initWithURLsInMode

        public UIDocumentPickerViewController initWithURLsInMode​(NSArray<? extends NSURL> urls,
                                                                 long mode)
        Initializes the picker for exporting local files to an external location. The valid modes are Export and Move. The new locations will be returned using `didPickDocumentAtURLs:`.
      • setAllowsMultipleSelection

        public void setAllowsMultipleSelection​(boolean value)
      • directoryURL

        public NSURL directoryURL()
        Picker will try to display this URL when presented
      • setDirectoryURL

        public void setDirectoryURL​(NSURL value)
        Picker will try to display this URL when presented
      • setShouldShowFileExtensions

        public void setShouldShowFileExtensions​(boolean value)
        Force the display of supported file extensions (default: NO).
      • shouldShowFileExtensions

        public boolean shouldShowFileExtensions()
        Force the display of supported file extensions (default: NO).
      • initForExportingURLs

        public UIDocumentPickerViewController initForExportingURLs​(NSArray<? extends NSURL> urls)
        Initializes the picker for exporting local documents to an external location. The new locations will be returned using `didPickDocumentAtURLs:`. The original document will be moved to the destination.
      • initForExportingURLsAsCopy

        public UIDocumentPickerViewController initForExportingURLsAsCopy​(NSArray<? extends NSURL> urls,
                                                                         boolean asCopy)
        Initializes the picker for exporting local documents to an external location. The new locations will be returned using `didPickDocumentAtURLs:`.
        Parameters:
        asCopy - if true, a copy will be exported to the destination, otherwise the original document will be moved to the destination. For performance reasons and to avoid copies, we recommand you set `asCopy` to false.
      • initForOpeningContentTypes

        public UIDocumentPickerViewController initForOpeningContentTypes​(NSArray<? extends UTType> contentTypes)
        Initializes the picker instance for selecting a document in a remote location, giving you access to the original document.
      • initForOpeningContentTypesAsCopy

        public UIDocumentPickerViewController initForOpeningContentTypesAsCopy​(NSArray<? extends UTType> contentTypes,
                                                                               boolean asCopy)
        Initializes the picker instance for selecting a document in a remote location.
        Parameters:
        asCopy - if true, the picker will give you access to a local copy of the document, otherwise you will have access to the original document