Class

INSetRadioStationIntentResponse

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

Declaration

@interface INSetRadioStationIntentResponse : INIntentResponse

Overview

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 confirmSetRadioStation:completion: and handleSetRadioStation:completion: methods of your set seat settings in car handler object. For more information about implementing your handler object, see INSetRadioStationIntentHandling.

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.

INSetRadioStationIntentResponseCode

Constants indicating the state of the response.

Relationships

Inherits From

See Also

Set Radio Station

INSetRadioStationIntentHandling

The handler interface for changing a radio station.

INSetRadioStationIntent

A request to change the current radio station.