Package org.robovm.apple.uikit
Class UIDocumentBrowserViewController
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIResponder
org.robovm.apple.uikit.UIViewController
org.robovm.apple.uikit.UIDocumentBrowserViewController
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObjectProtocol,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIStateRestoring,UITraitEnvironment,UIUserActivityRestoring,ObjCProtocol
public class UIDocumentBrowserViewController extends UIViewController implements NSCoding
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIDocumentBrowserViewController.UIDocumentBrowserViewControllerPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIViewController
UIViewController.Notifications, UIViewController.UIViewControllerPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description UIDocumentBrowserViewController()UIDocumentBrowserViewController(NSArray<NSString> allowedContentTypes)Deprecated.Deprecated in iOS 14.0.UIDocumentBrowserViewController(NSCoder coder)protectedUIDocumentBrowserViewController(NSObject.Handle h, long handle)protectedUIDocumentBrowserViewController(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIViewController
addChildViewController, addKeyCommand, applicationFinishedRestoringState, attemptRotationToDeviceOrientation, automaticallyAdjustsScrollViewInsets, beginAppearanceTransition, beginRequest, canPerformUnwind, canPerformUnwindSegueAction, collapseSecondaryViewController, contentScrollViewForEdge, decodeRestorableState, definesPresentationContext, didMoveToParentViewController, didReceiveMemoryWarning, didRotate, didUpdateFocus, disablesAutomaticKeyboardDismissal, dismissMoviePlayerViewController, dismissViewController, encode, encodeRestorableState, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, getAdditionalSafeAreaInsets, getAllowedChildViewControllersForUnwinding, getBottomLayoutGuide, getChildViewControllerContainingSegueSource, getChildViewControllerForHomeIndicatorAutoHidden, getChildViewControllerForPointerLock, getChildViewControllerForScreenEdgesDeferringSystemGestures, getChildViewControllerForStatusBarHidden, getChildViewControllerForStatusBarStyle, getChildViewControllers, getContentSizeForViewInPopover, getEdgesForExtendedLayout, getEditButtonItem, getExtensionContext, getFocusGroupIdentifier, getFocusItemContainer, getInterfaceOrientation, getInterstitialPresentationPolicy, getModalPresentationStyle, getModalTransitionStyle, getNavigationController, getNavigationItem, getNibBundle, getNibName, getObjectRestorationClass, getOriginalContentView, getOverrideTraitCollection, getOverrideUserInterfaceStyle, getParentFocusEnvironment, getParentViewController, getPopoverPresentationController, getPreferredContentSize, getPreferredFocusedView, getPreferredFocusEnvironments, getPreferredInterfaceOrientationForPresentation, getPreferredScreenEdgesDeferringSystemGestures, getPreferredStatusBarStyle, getPreferredStatusBarUpdateAnimation, getPresentationController, getPresentedViewController, getPresentingViewController, getPreviewActionItems, getRestorationClass, getRestorationIdentifier, getRestorationParent, getRotatingFooterView, getRotatingHeaderView, getSearchDisplayController, getSegueForUnwinding, getSheetPresentationController, getSplitViewController, getStoryboard, getSupportedInterfaceOrientations, getSystemMinimumLayoutMargins, getTabBarController, getTabBarItem, getTargetViewControllerForAction, getTitle, getToolbarItems, getTopLayoutGuide, getTraitCollection, getTransitionCoordinator, getTransitioningDelegate, getView, getViewControllerForUnwind, getViewIfLoaded, hidesBottomBarWhenPushed, init, init, isBeingDismissed, isBeingPresented, isCanDisplayBannerAds, isDisplayingBannerAd, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isRestoresFocusAfterTransition, isViewLoaded, isViewRespectsSystemMinimumLayoutMargins, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, performsActionsWhilePresentingModally, performSegue, preferredContentSizeDidChangeForChildContentContainer, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegue, prepareInterstitialAds, presentMoviePlayerViewController, presentViewController, providesPresentationContextTransitionStyle, registerForPreviewing, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, separateSecondaryViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentScrollView, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditing, setExtendedLayoutIncludesOpaqueBars, setFocusGroupIdentifier, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollection, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItems, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldPerformSegue, shouldPresentInterstitialAd, shouldUpdateFocus, ShowDetailTargetDidChangeNotification, showDetailViewController, showViewController, sizeForChildContentContainer, systemLayoutFittingSizeDidChangeForChildContentContainer, traitCollectionDidChange, transition, unregisterForPreviewing, unwind, updateFocusIfNeeded, updateViewConstraints, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewLayoutMarginsDidChange, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSize, wantsFullScreenLayout, willAnimateRotation, willMoveToParentViewController, willRotate, willTransitionToTraitCollectionMethods inherited from class org.robovm.apple.uikit.UIResponder
becomeFirstResponder, buildMenu, canBecomeFirstResponder, canPasteItemProviders, canPerformAction, canResignFirstResponder, captureTextFromCamera, clearTextInputContextIdentifier, copy, cut, decreaseSize, delete, getActionTarget, getActivityItemsConfiguration, getEditingInteractionConfiguration, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getPasteConfiguration, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, increaseSize, isFirstResponder, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBegan, motionCancelled, motionEnded, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteItemProviders, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, print, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, toggleBoldface, toggleItalics, toggleUnderline, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateTextAttributes, updateUserActivityState, validateCommandMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
UIDocumentBrowserViewController
public UIDocumentBrowserViewController() -
UIDocumentBrowserViewController
-
UIDocumentBrowserViewController
-
UIDocumentBrowserViewController
Deprecated.Deprecated in iOS 14.0. use initForOpeningContentTypes: instead- Since:
- Available in iOS 11.0 and later.
-
UIDocumentBrowserViewController
-
-
Method Details
-
createForOpeningContentTypes
public static UIDocumentBrowserViewController createForOpeningContentTypes(NSArray<UTType> contentTypes)- Since:
- Available in iOS 14.0 and later.
-
getDelegate
-
setDelegate
-
allowsDocumentCreation
public boolean allowsDocumentCreation() -
setAllowsDocumentCreation
public void setAllowsDocumentCreation(boolean v) -
allowsPickingMultipleItems
public boolean allowsPickingMultipleItems() -
setAllowsPickingMultipleItems
public void setAllowsPickingMultipleItems(boolean v) -
getAllowedContentTypes
Deprecated.Deprecated in iOS 14.0. allowedContentTypes is no longer supported- Since:
- Available in iOS 11.0 and later.
-
getRecentDocumentsContentTypes
Deprecated.Deprecated in iOS 14.0. use contentTypesForRecentDocuments instead- Since:
- Available in iOS 11.0 and later.
-
getContentTypesForRecentDocuments
- Since:
- Available in iOS 14.0 and later.
-
shouldShowFileExtensions
public boolean shouldShowFileExtensions()- Since:
- Available in iOS 13.0 and later.
-
setShouldShowFileExtensions
public void setShouldShowFileExtensions(boolean v)- Since:
- Available in iOS 13.0 and later.
-
getCustomActions
-
setCustomActions
-
getBrowserUserInterfaceStyle
-
setBrowserUserInterfaceStyle
-
getLocalizedCreateDocumentActionTitle
- Since:
- Available in iOS 13.0 and later.
-
setLocalizedCreateDocumentActionTitle
- Since:
- Available in iOS 13.0 and later.
-
getDefaultDocumentAspectRatio
public double getDefaultDocumentAspectRatio()- Since:
- Available in iOS 13.0 and later.
-
setDefaultDocumentAspectRatio
public void setDefaultDocumentAspectRatio(double v)- Since:
- Available in iOS 13.0 and later.
-
initForOpeningFilesUsingContentTypes
@Deprecated protected long initForOpeningFilesUsingContentTypes(NSArray<NSString> allowedContentTypes)Deprecated.Deprecated in iOS 14.0. use initForOpeningContentTypes: instead- Since:
- Available in iOS 11.0 and later.
-
initForOpeningContentTypes
- Since:
- Available in iOS 14.0 and later.
-
revealDocument
public void revealDocument(NSURL url, boolean importIfNeeded, VoidBlock2<NSURL,NSError> completion) -
importDocument
public void importDocument(NSURL documentURL, NSURL neighbourURL, UIDocumentBrowserImportMode importMode, VoidBlock2<NSURL,NSError> completion) -
transitionControllerForDocumentAtURL
public UIDocumentBrowserTransitionController transitionControllerForDocumentAtURL(NSURL documentURL)- Since:
- Available in iOS 12.0 and later.
-
transitionControllerForDocumentURL
@Deprecated public UIDocumentBrowserTransitionController transitionControllerForDocumentURL(NSURL documentURL)Deprecated.Deprecated in iOS 12.0. Use transitionControllerForDocumentAtURL:- Since:
- Available in iOS 11.0 and later.
-