public class UIDocumentBrowserViewController extends UIViewController implements NSCoding
| Modifier and Type | Class and Description |
|---|---|
static interface |
UIDocumentBrowserViewController.Block_importDocumentAtURLNextToDocumentAtURLModeCompletionHandler |
static interface |
UIDocumentBrowserViewController.Block_revealDocumentAtURLImportIfNeededCompletion |
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
UIDocumentBrowserViewController(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
NSArray<? extends UIBarButtonItem> |
additionalLeadingNavigationBarButtonItems()
An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
|
NSArray<? extends UIBarButtonItem> |
additionalTrailingNavigationBarButtonItems()
An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
|
static UIDocumentBrowserViewController |
alloc() |
static UIDocumentBrowserViewController |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSArray<java.lang.String> |
allowedContentTypes() |
boolean |
allowsDocumentCreation()
Defaults to YES
|
boolean |
allowsPickingMultipleItems()
Defaults to NO
|
static void |
attemptRotationToDeviceOrientation() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
browserUserInterfaceStyle()
Allows clients to customize the look of the browser.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(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.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(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.String |
debugDescription_static() |
double |
defaultDocumentAspectRatio()
Aspect ratio of the Create Document button defined as width / height (default: 2/3).
|
UIDocumentBrowserViewControllerDelegate |
delegate() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
void |
importDocumentAtURLNextToDocumentAtURLModeCompletionHandler(NSURL documentURL,
NSURL neighbourURL,
long importMode,
UIDocumentBrowserViewController.Block_importDocumentAtURLNextToDocumentAtURLModeCompletionHandler completion)
Allow a document to be imported next to another document.
|
UIDocumentBrowserViewController |
init() |
UIDocumentBrowserViewController |
initForOpeningContentTypes(NSArray<? extends UTType> contentTypes) |
UIDocumentBrowserViewController |
initForOpeningFilesWithContentTypes(NSArray<java.lang.String> allowedContentTypes) |
UIDocumentBrowserViewController |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UIDocumentBrowserViewController |
initWithNibNameBundle(java.lang.String nibNameOrNil,
NSBundle nibBundleOrNil)
The designated initializer.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
localizedCreateDocumentActionTitle()
Title of the Create Document button (default: "Create Document”).
|
static UIDocumentBrowserViewController |
new_objc() |
NSArray<java.lang.String> |
recentDocumentsContentTypes()
Array of content types supported for Recents documents.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
revealDocumentAtURLImportIfNeededCompletion(NSURL url,
boolean importIfNeeded,
UIDocumentBrowserViewController.Block_revealDocumentAtURLImportIfNeededCompletion completion)
Called to reveal a document at the URL.
|
void |
setAdditionalLeadingNavigationBarButtonItems(NSArray<? extends UIBarButtonItem> value)
An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
|
void |
setAdditionalTrailingNavigationBarButtonItems(NSArray<? extends UIBarButtonItem> value)
An array of buttons that will be added to the existing buttons in the UIDocumentBrowserViewController navigation bar
|
void |
setAllowsDocumentCreation(boolean value)
Defaults to YES
|
void |
setAllowsPickingMultipleItems(boolean value)
Defaults to NO
|
void |
setBrowserUserInterfaceStyle(long value)
Allows clients to customize the look of the browser.
|
void |
setCustomActions(NSArray<? extends UIDocumentBrowserAction> value)
Allows clients to add custom actions in the menu and the navigation bar.
|
void |
setDefaultDocumentAspectRatio(double value)
Aspect ratio of the Create Document button defined as width / height (default: 2/3).
|
void |
setDelegate_unsafe(UIDocumentBrowserViewControllerDelegate value) |
void |
setDelegate(UIDocumentBrowserViewControllerDelegate value) |
void |
setLocalizedCreateDocumentActionTitle(java.lang.String value)
Title of the Create Document button (default: "Create Document”).
|
void |
setShouldShowFileExtensions(boolean value)
Force the display of file extensions (default: NO).
|
static void |
setVersion_static(long aVersion) |
boolean |
shouldShowFileExtensions()
Force the display of file extensions (default: NO).
|
static org.moe.natj.objc.Class |
superclass_static() |
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.
|
UIDocumentBrowserTransitionController |
transitionControllerForDocumentURL(NSURL documentURL) |
static long |
version_static() |
addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentScrollViewForEdge, contentSizeForViewInPopover, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interfaceOrientation, isBeingDismissed, isBeingPresented, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, 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, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setContentScrollViewForEdge, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setFocusGroupIdentifier, setHidesBottomBarWhenPushed, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass_unsafe, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate_unsafe, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, sheetPresentationController, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, 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, willTransitionToTraitCollectionWithTransitionCoordinatoractivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, 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, willChangeValuesAtIndexesForKeyprotected UIDocumentBrowserViewController(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public NSArray<? extends UIBarButtonItem> additionalLeadingNavigationBarButtonItems()
public NSArray<? extends UIBarButtonItem> additionalTrailingNavigationBarButtonItems()
public static UIDocumentBrowserViewController alloc()
public static UIDocumentBrowserViewController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public NSArray<java.lang.String> allowedContentTypes()
public boolean allowsDocumentCreation()
public boolean allowsPickingMultipleItems()
public static void attemptRotationToDeviceOrientation()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public long browserUserInterfaceStyle()
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static void clearTextInputContextIdentifier(java.lang.String identifier)
public NSArray<? extends UIDocumentBrowserAction> customActions()
public static java.lang.String debugDescription_static()
public UIDocumentBrowserViewControllerDelegate delegate()
public static java.lang.String description_static()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingencodeWithCoder in class UIViewControllerpublic static long hash_static()
public void importDocumentAtURLNextToDocumentAtURLModeCompletionHandler(NSURL documentURL, NSURL neighbourURL, long importMode, UIDocumentBrowserViewController.Block_importDocumentAtURLNextToDocumentAtURLModeCompletionHandler completion)
public UIDocumentBrowserViewController init()
init in class UIViewControllerpublic UIDocumentBrowserViewController initForOpeningFilesWithContentTypes(NSArray<java.lang.String> allowedContentTypes)
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.public UIDocumentBrowserViewController initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIViewControllerpublic UIDocumentBrowserViewController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
UIViewControllerinitWithNibNameBundle in class UIViewControllerpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UIDocumentBrowserViewController new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void revealDocumentAtURLImportIfNeededCompletion(NSURL url, boolean importIfNeeded, UIDocumentBrowserViewController.Block_revealDocumentAtURLImportIfNeededCompletion completion)
public void setAdditionalLeadingNavigationBarButtonItems(NSArray<? extends UIBarButtonItem> value)
public void setAdditionalTrailingNavigationBarButtonItems(NSArray<? extends UIBarButtonItem> value)
public void setAllowsDocumentCreation(boolean value)
public void setAllowsPickingMultipleItems(boolean value)
public void setBrowserUserInterfaceStyle(long value)
public void setCustomActions(NSArray<? extends UIDocumentBrowserAction> value)
public void setDelegate_unsafe(UIDocumentBrowserViewControllerDelegate value)
public void setDelegate(UIDocumentBrowserViewControllerDelegate value)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public UIDocumentBrowserTransitionController transitionControllerForDocumentURL(NSURL documentURL)
public static long version_static()
public double defaultDocumentAspectRatio()
public java.lang.String localizedCreateDocumentActionTitle()
public NSArray<java.lang.String> recentDocumentsContentTypes()
public void setDefaultDocumentAspectRatio(double value)
public void setLocalizedCreateDocumentActionTitle(java.lang.String value)
public void setShouldShowFileExtensions(boolean value)
public boolean shouldShowFileExtensions()
public UIDocumentBrowserTransitionController transitionControllerForDocumentAtURL(NSURL documentURL)
public NSArray<? extends UTType> contentTypesForRecentDocuments()
public UIDocumentBrowserViewController initForOpeningContentTypes(NSArray<? extends UTType> contentTypes)
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.