SpeechTilesAndamento Docs
Get started
SDK Reference · Method

getAudioPlaybackVolume

Returns the current playback volume.

Declaration

public func getAudioPlaybackVolume() -> Float?

Overview

Returns the current playback volume. Check the documented prerequisites, parameters and return value below. For asynchronous operations, use the relevant media events to observe actual completion rather than treating an accepted request as finished.

Return value

Returns the player's current playback volume in the documented 0.0...1.0 range, or nil when the audio-player component has not been initialized.

See Also