Share via


IINCreateNoteIntentHandling.HandleCreateNote Method

Definition

Developers must override this method and invoke the Action<T> with an INCreateNoteIntentResponse appropriate to the INCreateNoteIntent intent.

[Foundation.Export("handleCreateNote:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleCreateNote(Intents.INCreateNoteIntent intent, Action<Intents.INCreateNoteIntentResponse> completion);
[<Foundation.Export("handleCreateNote:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleCreateNote : Intents.INCreateNoteIntent * Action<Intents.INCreateNoteIntentResponse> -> unit
override this.HandleCreateNote : Intents.INCreateNoteIntent * Action<Intents.INCreateNoteIntentResponse> -> unit

Parameters

intent
INCreateNoteIntent

Specifies the user's intention.

completion
Action<INCreateNoteIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to