Share via


IINSetMessageAttributeIntentHandling.HandleSetMessageAttribute Method

Definition

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

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

Parameters

intent
INSetMessageAttributeIntent

Specifies the user's intention.

completion
Action<INSetMessageAttributeIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to