Edytuj

Udostępnij za pośrednictwem


IINCreateNoteIntentHandling Interface

Definition

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

[Foundation.Protocol(Name="INCreateNoteIntentHandling", WrapperType=typeof(Intents.INCreateNoteIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINCreateNoteIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINCreateNoteIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleCreateNote(INCreateNoteIntent, Action<INCreateNoteIntentResponse>)

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

Extension Methods

Confirm(IINCreateNoteIntentHandling, INCreateNoteIntent, Action<INCreateNoteIntentResponse>)

Developers may implement this method to confirm whether local and remote resources are ready to create the note.

ResolveContent(IINCreateNoteIntentHandling, INCreateNoteIntent, Action<INNoteContentResolutionResult>)

Developers may implement this method to resolve the content of a note.

ResolveGroupName(IINCreateNoteIntentHandling, INCreateNoteIntent, Action<INSpeakableStringResolutionResult>)

Developers may implement this method to customize the resolution of a note's group name.

ResolveTitle(IINCreateNoteIntentHandling, INCreateNoteIntent, Action<INSpeakableStringResolutionResult>)

Developers may implement this method to customize the resolution of a note's title.

Applies to