Protocol

INSetRadioStationIntentHandling

The handler interface for changing a radio station.

Declaration

@protocol INSetRadioStationIntentHandling

Overview

Use the methods of the INSetRadioStationIntentHandling protocol to resolve, confirm, and handle requests to change radio stations from your app. Your extension should be able to change the radio station based on the provided information. For example, automotive vendors should be able to use the information to update the settings of a vehicle’s entertainment system.

Siri delivers an INSetRadioStationIntent object to your handler when the user asks to change the current radio station. The provided intent object contains information that you use to determine the new station.

Topics

Resolving the Intent Parameters

- resolveFrequencyForSetRadioStation:withCompletion:

Resolves the radio station frequency.

- resolveStationNameForSetRadioStation:withCompletion:

Resolves the name of the radio station.

- resolveChannelForSetRadioStation:withCompletion:

Resolves the channel number for the radio station.

- resolvePresetNumberForSetRadioStation:withCompletion:

Resolves the preset number used to select the radio station.

Confirming the Response

- confirmSetRadioStation:completion:

Confirms whether you can change the radio station.

Handling the Intent

- handleSetRadioStation:completion:

Handles changing the radio station.

Required.

Relationships

Inherits From

See Also

Set Radio Station

INSetRadioStationIntent

A request to change the current radio station.

INSetRadioStationIntentResponse

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software