Share via


INSetAudioSourceInCarIntentHandling_Extensions Class

Definition

Extension methods to the IINSetAudioSourceInCarIntentHandling interface to support all the methods from the INSetAudioSourceInCarIntentHandling protocol.

public static class INSetAudioSourceInCarIntentHandling_Extensions
type INSetAudioSourceInCarIntentHandling_Extensions = class
Inheritance
INSetAudioSourceInCarIntentHandling_Extensions

Remarks

The extension methods for IINSetAudioSourceInCarIntentHandling interface allow developers to treat instances of the interface as having all the optional methods of the original INSetAudioSourceInCarIntentHandling protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Name Description
Confirm(IINSetAudioSourceInCarIntentHandling, INSetAudioSourceInCarIntent, Action<INSetAudioSourceInCarIntentResponse>)

Developers may override this method to customize the confirmation of the audio source.

ResolveAudioSource(IINSetAudioSourceInCarIntentHandling, INSetAudioSourceInCarIntent, Action<INCarAudioSourceResolutionResult>)

Developers may override this method to customize the resolution of the requested audio source.

ResolveRelativeAudioSourceReference(IINSetAudioSourceInCarIntentHandling, INSetAudioSourceInCarIntent, Action<INRelativeReferenceResolutionResult>)

Developers may override this method to customize the resolution of a relative audio source (e.g, "next," "previous," etc.).

Applies to