Class

INSetRadioStationIntentResponse

Contains your app’s response to a set radio station intent.

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 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.

Topics

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.

Relationships

Inherits From

Conforms To

See Also

Set Radio Station

protocol INSetRadioStationIntentHandling

Handles the changing of a radio station.

class INSetRadioStationIntent

Changes the current radio station.