Your app’s response to a set radio station intent.


class INSetRadioStationIntentResponse : INIntentResponse


An INSetRadioStationIntentResponse object contains the status of changing the currently playing radio station. You create instances of this class when confirming or handling a set radio station intent.

You create an INSetRadioStationIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your set seat settings in car handler object. For more information about implementing your handler object, see INSetRadioStationIntentHandling.


Initializing the Response Object

init(code: INSetRadioStationIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INSetRadioStationIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSetRadioStationIntentResponseCode

Constants indicating the state of the response.


Inherits From

Conforms To

See Also

Set Radio Station

protocol INSetRadioStationIntentHandling

The handler interface for changing a radio station.

class INSetRadioStationIntent

A request to change the current radio station.