Class

INSetAudioSourceInCarIntentResponse

Your app’s response to a set audio source in car intent.

Declaration

@interface INSetAudioSourceInCarIntentResponse : INIntentResponse

Overview

An INSetAudioSourceInCarIntentResponse object contains the status of changing the audio source in the user’s vehicle. You create instances of this class when confirming or handling a set audio source in car intent.

You create an INSetAudioSourceInCarIntentResponse object in the confirmSetAudioSourceInCar:completion: and handleSetAudioSourceInCar:completion: methods of your set audio source in car handler object. For more information about implementing your handler object, see INSetAudioSourceInCarIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INSetAudioSourceInCarIntentResponseCode

Constants indicating the state of the response.

Relationships

Inherits From

See Also

Set Audio Source in Car

INSetAudioSourceInCarIntentHandling

The handler interface for changing a vehicle’s audio source.

INSetAudioSourceInCarIntent

A request to change the source of audio playback in a CarPlay-enabled vehicle.