SoundAgentProtocol
public protocol SoundAgentProtocol : CapabilityAgentable
Sound-agent is needed to play beep sound.
-
The data source for the beep.
Declaration
Swift
var dataSource: SoundAgentDataSource? { get set }
-
Specifies the receiver’s delegate object.
Declaration
Swift
var delegate: SoundAgentDelegate? { get set }
-
The beep playback volume for the player.
This function retrieves the volume of the current
MediaPlayable
handled by the sound-agent.Declaration
Swift
var volume: Float { get set }