Package apple.uikit

Class UIDocumentBrowserViewController

    • Constructor Detail

      • UIDocumentBrowserViewController

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • additionalLeadingNavigationBarButtonItems

        public NSArray<? extends UIBarButtonItem> additionalLeadingNavigationBarButtonItems()
        An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
      • additionalTrailingNavigationBarButtonItems

        public NSArray<? extends UIBarButtonItem> additionalTrailingNavigationBarButtonItems()
        An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
      • allocWithZone

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

        public NSArray<java.lang.String> allowedContentTypes()
      • allowsDocumentCreation

        public boolean allowsDocumentCreation()
        Defaults to YES
      • allowsPickingMultipleItems

        public boolean allowsPickingMultipleItems()
        Defaults to NO
      • attemptRotationToDeviceOrientation

        public static void attemptRotationToDeviceOrientation()
      • automaticallyNotifiesObserversForKey

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

        public long browserUserInterfaceStyle()
        Allows clients to customize the look of the browser. Default: UIDocumentBrowserUserInterfaceStyleWhite
      • 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)
      • customActions

        public NSArray<? extends UIDocumentBrowserAction> customActions()
        Allows clients to add custom actions in the menu and the navigation bar. These actions are contextual to the document items.
      • 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()
      • initForOpeningFilesWithContentTypes

        public UIDocumentBrowserViewController initForOpeningFilesWithContentTypes​(NSArray<java.lang.String> allowedContentTypes)
        Parameters:
        allowedContentTypes - The document types that the user should be able to open. If nil, the types specified via the CFBundleDocumentTypes key in the application plist will be used instead.
      • initWithNibNameBundle

        public UIDocumentBrowserViewController 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
      • 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)
      • setAdditionalLeadingNavigationBarButtonItems

        public void setAdditionalLeadingNavigationBarButtonItems​(NSArray<? extends UIBarButtonItem> value)
        An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
      • setAdditionalTrailingNavigationBarButtonItems

        public void setAdditionalTrailingNavigationBarButtonItems​(NSArray<? extends UIBarButtonItem> value)
        An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
      • setAllowsDocumentCreation

        public void setAllowsDocumentCreation​(boolean value)
        Defaults to YES
      • setAllowsPickingMultipleItems

        public void setAllowsPickingMultipleItems​(boolean value)
        Defaults to NO
      • setBrowserUserInterfaceStyle

        public void setBrowserUserInterfaceStyle​(long value)
        Allows clients to customize the look of the browser. Default: UIDocumentBrowserUserInterfaceStyleWhite
      • setCustomActions

        public void setCustomActions​(NSArray<? extends UIDocumentBrowserAction> value)
        Allows clients to add custom actions in the menu and the navigation bar. These actions are contextual to the document items.
      • 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()
      • defaultDocumentAspectRatio

        public double defaultDocumentAspectRatio()
        Aspect ratio of the Create Document button defined as width / height (default: 2/3).
      • localizedCreateDocumentActionTitle

        public java.lang.String localizedCreateDocumentActionTitle()
        Title of the Create Document button (default: "Create Document”).
      • recentDocumentsContentTypes

        public NSArray<java.lang.String> recentDocumentsContentTypes()
        Array of content types supported for Recents documents. Default is same as allowedContentTypes. Can be defined via the 'UIDocumentBrowserRecentDocumentContentTypes' key in the app Info.plist. Note that the recentDocumentsContentTypes must be a subset conforming to the types declared in allowedContentTypes.
      • setDefaultDocumentAspectRatio

        public void setDefaultDocumentAspectRatio​(double value)
        Aspect ratio of the Create Document button defined as width / height (default: 2/3).
      • setLocalizedCreateDocumentActionTitle

        public void setLocalizedCreateDocumentActionTitle​(java.lang.String value)
        Title of the Create Document button (default: "Create Document”).
      • setShouldShowFileExtensions

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

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

        public UIDocumentBrowserTransitionController transitionControllerForDocumentAtURL​(NSURL documentURL)
        A UIDocumentBrowserTransitionController object is used to display a loading indicator, while the application is spending time on time-consuming operations (e.g., loading, parsing, …) after having finished the file download, and before presenting it. To be used together with the UIViewControllerTransitioningDelegate protocol for custom view controller transitions.
      • contentTypesForRecentDocuments

        public NSArray<? extends UTType> contentTypesForRecentDocuments()
        Array of content types supported for Recents documents. Default is same as content types passed in the designated initializer or as CFBundleDocumentTypes in the app Info.plist. Can be defined via the 'UIDocumentBrowserRecentDocumentContentTypes' key in the app Info.plist. Note that the contentTypesForRecentDocuments must be a subset conforming to the types passed in the initializer or Info.plist.
      • initForOpeningContentTypes

        public UIDocumentBrowserViewController initForOpeningContentTypes​(NSArray<? extends UTType> contentTypes)
        Parameters:
        contentTypes - The content types that the user should be able to open. If nil, the types specified via the CFBundleDocumentTypes key in the application plist will be used instead.