public class UIDocumentInteractionController extends NSObject implements UIActionSheetDelegate
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
UIDocumentInteractionController(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
actionSheetCancel(UIActionSheet actionSheet)
Deprecated.
|
void |
actionSheetClickedButtonAtIndex(UIActionSheet actionSheet,
long buttonIndex)
Deprecated.
|
void |
actionSheetDidDismissWithButtonIndex(UIActionSheet actionSheet,
long buttonIndex)
Deprecated.
|
void |
actionSheetWillDismissWithButtonIndex(UIActionSheet actionSheet,
long buttonIndex)
Deprecated.
|
static UIDocumentInteractionController |
alloc() |
static UIDocumentInteractionController |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
java.lang.Object |
annotation()
additional plist information for application to pass to receiver (must be a plist object).
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
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 java.lang.String |
debugDescription_static() |
UIDocumentInteractionControllerDelegate |
delegate()
default is nil
|
static java.lang.String |
description_static() |
void |
didPresentActionSheet(UIActionSheet actionSheet)
Deprecated.
|
void |
dismissMenuAnimated(boolean animated)
Dismiss any visible menus.
|
void |
dismissPreviewAnimated(boolean animated)
Dismiss the full screen quick look window if it is visible.
|
NSArray<? extends UIGestureRecognizer> |
gestureRecognizers()
Returns an array of gesture recognizers preconfigured to manage the quick look and options menu.
|
static long |
hash_static() |
NSArray<? extends UIImage> |
icons()
determined from name if set, URL otherwise.
|
UIDocumentInteractionController |
init() |
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 UIDocumentInteractionController |
interactionControllerWithURL(NSURL url)
use file to determine UTI.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
name()
determined from URL, override if the URL uses a custom scheme and the name can't be determined automatically
|
static UIDocumentInteractionController |
new_objc() |
boolean |
presentOpenInMenuFromBarButtonItemAnimated(UIBarButtonItem item,
boolean animated) |
boolean |
presentOpenInMenuFromRectInViewAnimated(CGRect rect,
UIView view,
boolean animated)
Presents a menu allowing the user to open the document in another application.
|
boolean |
presentOptionsMenuFromBarButtonItemAnimated(UIBarButtonItem item,
boolean animated) |
boolean |
presentOptionsMenuFromRectInViewAnimated(CGRect rect,
UIView view,
boolean animated)
This is the default method you should call to give your users the option to quick look, open, or copy the document.
|
boolean |
presentPreviewAnimated(boolean animated)
Bypasses the menu and opens the full screen preview window for the item at URL.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAnnotation(java.lang.Object value)
additional plist information for application to pass to receiver (must be a plist object).
|
void |
setDelegate_unsafe(UIDocumentInteractionControllerDelegate value)
default is nil
|
void |
setDelegate(UIDocumentInteractionControllerDelegate value)
default is nil
|
void |
setName(java.lang.String value)
determined from URL, override if the URL uses a custom scheme and the name can't be determined automatically
|
void |
setURL(NSURL value)
default is nil.
|
void |
setUTI(java.lang.String value)
determined from name if set, URL otherwise, override if the name or URL uses a custom scheme and the UTI can't be determined automatically
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
NSURL |
URL()
default is nil.
|
java.lang.String |
UTI()
determined from name if set, URL otherwise, override if the name or URL uses a custom scheme and the UTI can't be determined automatically
|
static long |
version_static() |
void |
willPresentActionSheet(UIActionSheet actionSheet)
Deprecated.
|
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, willChangeValuesAtIndexesForKeyprotected UIDocumentInteractionController(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static UIDocumentInteractionController alloc()
public static UIDocumentInteractionController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
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 java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public 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 UIDocumentInteractionController interactionControllerWithURL(NSURL url)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UIDocumentInteractionController new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSURL URL()
public java.lang.String UTI()
@Deprecated public void actionSheetClickedButtonAtIndex(UIActionSheet actionSheet, long buttonIndex)
UIActionSheetDelegateactionSheetClickedButtonAtIndex in interface UIActionSheetDelegate@Deprecated public void actionSheetDidDismissWithButtonIndex(UIActionSheet actionSheet, long buttonIndex)
UIActionSheetDelegateactionSheetDidDismissWithButtonIndex in interface UIActionSheetDelegate@Deprecated public void actionSheetWillDismissWithButtonIndex(UIActionSheet actionSheet, long buttonIndex)
UIActionSheetDelegateactionSheetWillDismissWithButtonIndex in interface UIActionSheetDelegate@Deprecated public void actionSheetCancel(UIActionSheet actionSheet)
UIActionSheetDelegateactionSheetCancel in interface UIActionSheetDelegatepublic java.lang.Object annotation()
public UIDocumentInteractionControllerDelegate delegate()
@Deprecated public void didPresentActionSheet(UIActionSheet actionSheet)
UIActionSheetDelegatedidPresentActionSheet in interface UIActionSheetDelegatepublic void dismissMenuAnimated(boolean animated)
public void dismissPreviewAnimated(boolean animated)
public NSArray<? extends UIGestureRecognizer> gestureRecognizers()
public NSArray<? extends UIImage> icons()
public UIDocumentInteractionController init()
public java.lang.String name()
public boolean presentOpenInMenuFromBarButtonItemAnimated(UIBarButtonItem item, boolean animated)
public boolean presentOpenInMenuFromRectInViewAnimated(CGRect rect, UIView view, boolean animated)
public boolean presentOptionsMenuFromBarButtonItemAnimated(UIBarButtonItem item, boolean animated)
public boolean presentOptionsMenuFromRectInViewAnimated(CGRect rect, UIView view, boolean animated)
public boolean presentPreviewAnimated(boolean animated)
public void setAnnotation(java.lang.Object value)
public void setDelegate_unsafe(UIDocumentInteractionControllerDelegate value)
public void setDelegate(UIDocumentInteractionControllerDelegate value)
public void setName(java.lang.String value)
public void setURL(NSURL value)
public void setUTI(java.lang.String value)
@Deprecated public void willPresentActionSheet(UIActionSheet actionSheet)
UIActionSheetDelegatewillPresentActionSheet in interface UIActionSheetDelegate