PlanetKitAudioVolumeDelegate
@objc
public protocol PlanetKitAudioVolumeDelegate
A delegate protocol for receiving volume change events.
-
Called when the device volume has changed.
Declaration
Swift
func didChangeVolume(_ type: PlanetKitAudioDeviceType, volume: Float)
Parameters
type
The type of the audio device.
volume
The current volume level.