編輯

共用方式為


IINSetRadioStationIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INSetRadioStationIntentResponse appropriate to arg.

[Foundation.Protocol(Name="INSetRadioStationIntentHandling", WrapperType=typeof(Intents.INSetRadioStationIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINSetRadioStationIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSetRadioStationIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleSetRadioStation(INSetRadioStationIntent, Action<INSetRadioStationIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INSetRadioStationIntentResponse appropriate to the INSetRadioStationIntent intent.

Extension Methods

ConfirmSetRadioStation(IINSetRadioStationIntentHandling, INSetRadioStationIntent, Action<INSetRadioStationIntentResponse>)

Developers can override this method to customize the confirmation of a radio station change.

ResolveChannel(IINSetRadioStationIntentHandling, INSetRadioStationIntent, Action<INStringResolutionResult>)

Developers can override this method to customize the resolution of a radio channel.

ResolveFrequency(IINSetRadioStationIntentHandling, INSetRadioStationIntent, Action<INDoubleResolutionResult>)

Developers can override this method to customize the resolution of a radio frequency.

ResolvePresetNumber(IINSetRadioStationIntentHandling, INSetRadioStationIntent, Action<INIntegerResolutionResult>)

Developers can override this method to customize the resolution of a radio preset.

ResolveRadioType(IINSetRadioStationIntentHandling, INSetRadioStationIntent, Action<INRadioTypeResolutionResult>)

Developers can override this method to customize the resolution of what kind of radio is available.

ResolveStationName(IINSetRadioStationIntentHandling, INSetRadioStationIntent, Action<INStringResolutionResult>)

Developers can override this method to customize the resolution of a radio station name.

Applies to