Share via


IINSetAudioSourceInCarIntentHandling.HandleSetAudioSourceInCar Method

Definition

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

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

Parameters

intent
INSetAudioSourceInCarIntent

Specifies the user's intention.

completion
Action<INSetAudioSourceInCarIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to