Package apple.uikit
Class UIDocumentBrowserViewController
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIViewController
-
- apple.uikit.UIDocumentBrowserViewController
-
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObject,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIStateRestoring,UITraitEnvironment,UIUserActivityRestoring
public class UIDocumentBrowserViewController extends UIViewController implements NSCoding
UIDocumentBrowserViewController is a view controller to browse the files on the user's device or cloud services and open them directly in your application
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUIDocumentBrowserViewController.Block_importDocumentAtURLNextToDocumentAtURLModeCompletionHandlerstatic interfaceUIDocumentBrowserViewController.Block_revealDocumentAtURLImportIfNeededCompletion-
Nested classes/interfaces inherited from class apple.uikit.UIViewController
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIDocumentBrowserViewController(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()NSArray<? extends UIBarButtonItem>additionalLeadingNavigationBarButtonItems()An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation barNSArray<? extends UIBarButtonItem>additionalTrailingNavigationBarButtonItems()An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation barstatic UIDocumentBrowserViewControlleralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)NSArray<java.lang.String>allowedContentTypes()booleanallowsDocumentCreation()Defaults to YESbooleanallowsPickingMultipleItems()Defaults to NOstatic voidattemptRotationToDeviceOrientation()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)longbrowserUserInterfaceStyle()Allows clients to customize the look of the browser.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(java.lang.String identifier)NSArray<? extends UTType>contentTypesForRecentDocuments()Array of content types supported for Recents documents.NSArray<? extends UIDocumentBrowserAction>customActions()Allows clients to add custom actions in the menu and the navigation bar.static java.lang.StringdebugDescription_static()doubledefaultDocumentAspectRatio()Aspect ratio of the Create Document button defined as width / height (default: 2/3).UIDocumentBrowserViewControllerDelegatedelegate()static java.lang.Stringdescription_static()voidencodeWithCoder(NSCoder coder)static longhash_static()voidimportDocumentAtURLNextToDocumentAtURLModeCompletionHandler(NSURL documentURL, NSURL neighbourURL, long importMode, UIDocumentBrowserViewController.Block_importDocumentAtURLNextToDocumentAtURLModeCompletionHandler completion)Allow a document to be imported next to another document.UIDocumentBrowserViewControllerinit()UIDocumentBrowserViewControllerinitForOpeningContentTypes(NSArray<? extends UTType> contentTypes)UIDocumentBrowserViewControllerinitForOpeningFilesWithContentTypes(NSArray<java.lang.String> allowedContentTypes)UIDocumentBrowserViewControllerinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERUIDocumentBrowserViewControllerinitWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)The designated initializer.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.lang.StringlocalizedCreateDocumentActionTitle()Title of the Create Document button (default: "Create Document”).static java.lang.Objectnew_objc()static voidprepareInterstitialAds()NSArray<java.lang.String>recentDocumentsContentTypes()Array of content types supported for Recents documents.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidrevealDocumentAtURLImportIfNeededCompletion(NSURL url, boolean importIfNeeded, UIDocumentBrowserViewController.Block_revealDocumentAtURLImportIfNeededCompletion completion)Called to reveal a document at the URL.voidsetAdditionalLeadingNavigationBarButtonItems(NSArray<? extends UIBarButtonItem> value)An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation barvoidsetAdditionalTrailingNavigationBarButtonItems(NSArray<? extends UIBarButtonItem> value)An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation barvoidsetAllowsDocumentCreation(boolean value)Defaults to YESvoidsetAllowsPickingMultipleItems(boolean value)Defaults to NOvoidsetBrowserUserInterfaceStyle(long value)Allows clients to customize the look of the browser.voidsetCustomActions(NSArray<? extends UIDocumentBrowserAction> value)Allows clients to add custom actions in the menu and the navigation bar.voidsetDefaultDocumentAspectRatio(double value)Aspect ratio of the Create Document button defined as width / height (default: 2/3).voidsetDelegate(UIDocumentBrowserViewControllerDelegate value)voidsetDelegate_unsafe(UIDocumentBrowserViewControllerDelegate value)voidsetLocalizedCreateDocumentActionTitle(java.lang.String value)Title of the Create Document button (default: "Create Document”).voidsetShouldShowFileExtensions(boolean value)Force the display of file extensions (default: NO).static voidsetVersion_static(long aVersion)booleanshouldShowFileExtensions()Force the display of file extensions (default: NO).static org.moe.natj.objc.Classsuperclass_static()UIDocumentBrowserTransitionControllertransitionControllerForDocumentAtURL(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.UIDocumentBrowserTransitionControllertransitionControllerForDocumentURL(NSURL documentURL)static longversion_static()-
Methods inherited from class apple.uikit.UIViewController
addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canDisplayBannerAds, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentSizeForViewInPopover, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interfaceOrientation, interstitialPresentationPolicy, isBeingDismissed, isBeingPresented, isDisplayingBannerAd, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, originalContentView, overrideTraitCollectionForChildViewController, overrideUserInterfaceStyle, parentFocusEnvironment, parentViewController, performsActionsWhilePresentingModally, performSegueWithIdentifierSender, popoverPresentationController, preferredContentSize, preferredContentSizeDidChangeForChildContentContainer, preferredFocusedView, preferredFocusEnvironments, preferredInterfaceOrientationForPresentation, preferredScreenEdgesDeferringSystemGestures, preferredStatusBarStyle, preferredStatusBarUpdateAnimation, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegueSender, presentationController, presentedViewController, presentingViewController, presentModalViewControllerAnimated, presentMoviePlayerViewControllerAnimated, presentViewControllerAnimatedCompletion, previewActionItems, providesPresentationContextTransitionStyle, registerForPreviewingWithDelegateSourceView, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationClass_unsafe, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate, setTransitioningDelegate_unsafe, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, shouldPresentInterstitialAd, shouldUpdateFocusInContext, showDetailViewControllerSender, showViewControllerSender, sizeForChildContentContainerWithParentContainerSize, splitViewController, storyboard, supportedInterfaceOrientations, systemLayoutFittingSizeDidChangeForChildContentContainer, systemMinimumLayoutMargins, tabBarController, tabBarItem, targetViewControllerForActionSender, title, toolbarItems, topLayoutGuide, traitCollection, traitCollectionDidChange, transitionCoordinator, transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion, transitioningDelegate, unregisterForPreviewingWithContext, unwindForSegueTowardsViewController, updateFocusIfNeeded, updateViewConstraints, view, viewControllerForUnwindSegueActionFromViewControllerWithSender, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewLayoutMarginsDidChange, viewRespectsSystemMinimumLayoutMargins, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSizeWithTransitionCoordinator, viewWillUnload, wantsFullScreenLayout, willAnimateFirstHalfOfRotationToInterfaceOrientationDuration, willAnimateRotationToInterfaceOrientationDuration, willAnimateSecondHalfOfRotationFromInterfaceOrientationDuration, willMoveToParentViewController, willRotateToInterfaceOrientationDuration, willTransitionToTraitCollectionWithTransitionCoordinator
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
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
-
alloc
public static UIDocumentBrowserViewController alloc()
-
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()
-
delegate
public UIDocumentBrowserViewControllerDelegate delegate()
-
description_static
public static java.lang.String description_static()
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding- Overrides:
encodeWithCoderin classUIViewController
-
hash_static
public static long hash_static()
-
importDocumentAtURLNextToDocumentAtURLModeCompletionHandler
public void importDocumentAtURLNextToDocumentAtURLModeCompletionHandler(NSURL documentURL, NSURL neighbourURL, long importMode, UIDocumentBrowserViewController.Block_importDocumentAtURLNextToDocumentAtURLModeCompletionHandler completion)
Allow a document to be imported next to another document.
-
init
public UIDocumentBrowserViewController init()
- Overrides:
initin classUIViewController
-
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.
-
initWithCoder
public UIDocumentBrowserViewController initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIViewController
-
initWithNibNameBundle
public UIDocumentBrowserViewController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
Description copied from class:UIViewControllerThe 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:
initWithNibNameBundlein classUIViewController
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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)
-
revealDocumentAtURLImportIfNeededCompletion
public void revealDocumentAtURLImportIfNeededCompletion(NSURL url, boolean importIfNeeded, UIDocumentBrowserViewController.Block_revealDocumentAtURLImportIfNeededCompletion completion)
Called to reveal a document at the URL. Typically called from the application delegate method application:openURL:options:; to let the application present the document.
-
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.
-
setDelegate_unsafe
public void setDelegate_unsafe(UIDocumentBrowserViewControllerDelegate value)
-
setDelegate
public void setDelegate(UIDocumentBrowserViewControllerDelegate value)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
transitionControllerForDocumentURL
public UIDocumentBrowserTransitionController transitionControllerForDocumentURL(NSURL documentURL)
-
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.
-
-