Learn how to monitor and respond to volume and mute state changes in the FastPix iOS Player.
The FastPix iOS Player provides delegate callbacks for tracking volume changes and mute state. Use these callbacks to keep your custom UI synchronized with the player’s audio state.
Implement the following delegate method to receive notifications when the player’s volume level changes. The volume value ranges from 0.0 (silent) to 1.0 (maximum).
Implement this delegate method to detect when the player is muted or unmuted:
Use these callbacks to update custom volume sliders, mute icons, or other UI elements so they stay in sync with the player’s audio state.