UIDocumentInteractionControllerDelegate 类

定义

用于从类接收通知的 UIDocumentInteractionController 类。

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_iOS__UIKit_UIDocumentInteractionControllerDelegate", false)]
public class UIDocumentInteractionControllerDelegate : Foundation.NSObject, IDisposable, UIKit.IUIDocumentInteractionControllerDelegate
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_MacCatalyst__UIKit_UIDocumentInteractionControllerDelegate", false)]
public class UIDocumentInteractionControllerDelegate : Foundation.NSObject, IDisposable, UIKit.IUIDocumentInteractionControllerDelegate
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_iOS__UIKit_UIDocumentInteractionControllerDelegate", false)>]
type UIDocumentInteractionControllerDelegate = class
    inherit NSObject
    interface IUIDocumentInteractionControllerDelegate
    interface INativeObject
    interface IDisposable
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_MacCatalyst__UIKit_UIDocumentInteractionControllerDelegate", false)>]
type UIDocumentInteractionControllerDelegate = class
    inherit NSObject
    interface IUIDocumentInteractionControllerDelegate
    interface INativeObject
    interface IDisposable
继承
UIDocumentInteractionControllerDelegate
属性
实现

注解

应用程序开发人员可以重写此类中的方法,以支持与设备上的文件进行不同类型的交互。

构造函数

名称 说明
UIDocumentInteractionControllerDelegate()

UIDocumentInteractionControllerDelegate使用默认值创建新项。

UIDocumentInteractionControllerDelegate(NativeHandle)

创建非托管对象的托管表示形式时使用的构造函数。 由运行时调用。

UIDocumentInteractionControllerDelegate(NSObjectFlag)

要调用派生类的构造函数,以跳过初始化,并仅分配对象。

属性

名称 说明
AccessibilityAttributedUserInputLabels

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
AccessibilityRespondsToUserInteraction

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
AccessibilityTextualContext

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
AccessibilityUserInputLabels

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Class

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
ClassHandle

此类的 Objective-C 类句柄。

(继承自 NSObject)
DebugDescription

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Description

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Handle

处理(指针)到非托管对象表示形式。

(继承自 NSObject)
IsDirectBinding

获取或设置一个值,该值指示此实例是否使用直接 Objective-C 绑定。

(继承自 NSObject)
IsProxy

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
RetainCount

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Self

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Superclass

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
SuperHandle

用于表示此 NSObject基类中方法的句柄。

(继承自 NSObject)
Zone

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)

方法

名称 说明
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AwakeFromNib()

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
BeginInvokeOnMainThread(Action)

在主 UI 线程上异步调用指定的操作。

(继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主 UI 线程上异步调用指定的代码。

(继承自 NSObject)
CanPerformAction(UIDocumentInteractionController, Selector)

开发人员不应使用此已弃用的方法,该方法确定指定的控制器是否应支持指定的操作。

ConformsToProtocol(NativeHandle)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Copy()

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
DangerousAutorelease()

对此对象调用“autorelease”选择器。

(继承自 NSObject)
DangerousRelease()

对此对象调用“release”选择器。

(继承自 NSObject)
DangerousRetain()

对此对象调用“保留”选择器。

(继承自 NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
DidChangeValue(String)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
DidDismissOpenInMenu(UIDocumentInteractionController)

指示控制器已关闭其“打开 In...”菜单。

DidDismissOptionsMenu(UIDocumentInteractionController)

指示控制器已关闭其“选项”菜单。

DidEndPreview(UIDocumentInteractionController)

指示控制器已结束其文档预览。

DidEndSendingToApplication(UIDocumentInteractionController, String)

指示控制器的文档已移交给指定的应用程序。

Dispose()

释放对象使用 NSObject 的资源。

(继承自 NSObject)
Dispose(Boolean)

释放此对象使用的资源。

(继承自 NSObject)
DoesNotRecognizeSelector(Selector)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Equals(NSObject)

确定指定的 NSObject 值是否等于当前 NSObject

(继承自 NSObject)
Equals(Object)

确定指定的对象是否等于当前 NSObject对象。

(继承自 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
GetHashCode()

为当前实例生成哈希代码。

(继承自 NSObject)
GetMethodForSelector(Selector)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
GetNativeHash()

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Init()

通过调用 Objective-C init 方法初始化对象。

(继承自 NSObject)
InitializeHandle(NativeHandle, String)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
InitializeHandle(NativeHandle)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
Invoke(Action, Double)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
Invoke(Action, TimeSpan)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Action)

在主 UI 线程上同步调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

在主 UI 线程上同步调用指定的代码。

(继承自 NSObject)
IsEqual(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
IsKindOfClass(Class)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
IsMemberOfClass(Class)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
MarkDirty()

将常规对等对象(IsDirectBinding 为 true)提升为 toggleref 对象。

(继承自 NSObject)
MutableCopy()

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PerformAction(UIDocumentInteractionController, Selector)

开发人员不应使用此弃用的方法。

PerformSelector(Selector, NSObject, Double, NSString[])

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PerformSelector(Selector, NSObject, Double)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PerformSelector(Selector, NSObject, NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PerformSelector(Selector, NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[])

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PerformSelector(Selector)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
PrepareForInterfaceBuilder()

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
RectangleForPreview(UIDocumentInteractionController)

矩形F 用作动画显示文档预览的起点。

RemoveObserver(NSObject, NSString, IntPtr)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
RemoveObserver(NSObject, NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
RemoveObserver(NSObject, String)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
RespondsToSelector(Selector)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
SetNilValueForKey(NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
SetValueForKey(NSObject, NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
SetValueForKeyPath(NativeHandle, NSString)

将给定键路径标识的属性的值设置为给定值。

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
ToString()

返回当前实例值的字符串表示形式。

(继承自 NSObject)
ValueForKey(NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
ValueForKeyPath(NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
ValueForUndefinedKey(NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
ViewControllerForPreview(UIDocumentInteractionController)

提供文档预览的 UIViewController。

ViewForPreview(UIDocumentInteractionController)

用作动画预览起点的 UIView。 如果为 null,预览将逐渐消失。

WillBeginPreview(UIDocumentInteractionController)

指示文档预览即将启动。

WillBeginSendingToApplication(UIDocumentInteractionController, String)

指示控制器的文档即将移交给指定的应用程序。

WillChange(NSKeyValueChange, NSIndexSet, NSString)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
WillChangeValue(String)

用于从类接收通知的 UIDocumentInteractionController 类。

(继承自 NSObject)
WillPresentOpenInMenu(UIDocumentInteractionController)

指示“打开...”菜单即将呈现给应用用户。

WillPresentOptionsMenu(UIDocumentInteractionController)

指示“选项”菜单即将呈现给应用用户。

扩展方法

名称 说明
AccessibilityHitTest(NSObject, CGPoint, UIEvent)

用于从类接收通知的 UIDocumentInteractionController 类。

BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)

用于从类接收通知的 UIDocumentInteractionController 类。

BrowserAccessibilityInsertTextAtCursor(NSObject, String)

用于从类接收通知的 UIDocumentInteractionController 类。

CanPerformAction(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, Selector)

开发人员不应使用此已弃用的方法,该方法确定指定的控制器是否应支持指定的操作。

DidDismissOpenInMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

指示控制器已关闭其“打开 In...”菜单。

DidDismissOptionsMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

指示控制器已关闭其“选项”菜单。

DidEndPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

指示控制器已结束其文档预览。

DidEndSendingToApplication(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, String)

指示控制器的文档已移交给指定的应用程序。

GetAccessibilityCustomRotors(NSObject)

获取适合this对象的对象的数组UIAccessibilityCustomRotor

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityLineRangeForPosition(NSObject, IntPtr)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityNextTextNavigationElement(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityNextTextNavigationElementBlock(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityPreviousTextNavigationElement(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityPreviousTextNavigationElementBlock(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityTextInputResponder(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetAccessibilityTextInputResponderHandler(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityAttributedValue(NSObject, NSRange)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityContainerType(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityCurrentStatus(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityHasDomFocus(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityIsRequired(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityPressedState(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityRoleDescription(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilitySelectedTextRange(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilitySortDirection(NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetBrowserAccessibilityValue(NSObject, NSRange)

用于从类接收通知的 UIDocumentInteractionController 类。

GetDebugDescription(INSObjectProtocol)

用于从类接收通知的 UIDocumentInteractionController 类。

GetHandle(INativeObject)

用于从类接收通知的 UIDocumentInteractionController 类。

GetNonNullHandle(INativeObject, String)

用于从类接收通知的 UIDocumentInteractionController 类。

PerformAction(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, Selector)

开发人员不应使用此弃用的方法。

ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

RectangleForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

矩形F 用作动画显示文档预览的起点。

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

设置适合this对象的对象的数组UIAccessibilityCustomRotor

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)

用于从类接收通知的 UIDocumentInteractionController 类。

SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)

用于从类接收通知的 UIDocumentInteractionController 类。

SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)

用于从类接收通知的 UIDocumentInteractionController 类。

SetAccessibilityTextInputResponder(NSObject, IUITextInput)

用于从类接收通知的 UIDocumentInteractionController 类。

SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilityCurrentStatus(NSObject, String)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilityIsRequired(NSObject, Boolean)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilityRoleDescription(NSObject, String)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)

用于从类接收通知的 UIDocumentInteractionController 类。

SetBrowserAccessibilitySortDirection(NSObject, String)

用于从类接收通知的 UIDocumentInteractionController 类。

SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)

用于从类接收通知的 UIDocumentInteractionController 类。

ViewControllerForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

提供文档预览的 UIViewController。

ViewForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

用作动画预览起点的 UIView。 如果为 null,预览将逐渐消失。

WillBeginPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

指示文档预览即将启动。

WillBeginSendingToApplication(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, String)

指示控制器的文档即将移交给指定的应用程序。

WillPresentOpenInMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

指示“打开...”菜单即将呈现给应用用户。

WillPresentOptionsMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

指示“选项”菜单即将呈现给应用用户。

适用于

另请参阅