Szerkesztés

Megosztás a következőn keresztül:


IINSendMessageIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INSendMessageIntentResponse appropriate to arg.

[Foundation.Protocol(Name="INSendMessageIntentHandling", WrapperType=typeof(Intents.INSendMessageIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 0, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINSendMessageIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSendMessageIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleSendMessage(INSendMessageIntent, Action<INSendMessageIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INSendMessageIntentResponse appropriate to the INSendMessageIntent intent.

Extension Methods

ConfirmSendMessage(IINSendMessageIntentHandling, INSendMessageIntent, Action<INSendMessageIntentResponse>)

Developers may override this method to customize the confirmation to send a message.

ResolveContent(IINSendMessageIntentHandling, INSendMessageIntent, Action<INStringResolutionResult>)

Developers may override this method to customize the resolution of the content of a message.

ResolveGroupName(IINSendMessageIntentHandling, INSendMessageIntent, Action<INStringResolutionResult>)

Developers should not use this deprecated method. Developers should use 'ResolveSpeakableGroupName' instead.

ResolveRecipients(IINSendMessageIntentHandling, INSendMessageIntent, Action<INPersonResolutionResult[]>)

Developers may implement this method to customize the resolution of message recipients.

ResolveRecipients(IINSendMessageIntentHandling, INSendMessageIntent, Action<INSendMessageRecipientResolutionResult[]>)

Developers may implement this method to customize the resolution of message recipients.

ResolveSpeakableGroupName(IINSendMessageIntentHandling, INSendMessageIntent, Action<INSpeakableStringResolutionResult>)

Developers may implement this method to customize the resolution of the speakable group name.

Applies to