Package 

Interface AudioStateListener

    • Method Detail

      • onRecordingStateChanged

         Unit onRecordingStateChanged(Boolean isRecording)

        Called when recording state changes

        Parameters:
        isRecording - true if recording started, false if stopped
      • onPlaybackStateChanged

         Unit onPlaybackStateChanged(Boolean isPlaying)

        Called when playback state changes

        Parameters:
        isPlaying - true if playback started, false if stopped
      • onMuteStateChanged

         Unit onMuteStateChanged(Boolean isMuted)

        Called when mute state changes

        Parameters:
        isMuted - true if muted, false if unmuted
      • onVolumeChanged

         Unit onVolumeChanged(Float volume)

        Called when volume changes

        Parameters:
        volume - New volume level (0.0 to 1.
      • onAudioError

         Unit onAudioError(String error, Throwable exception)

        Called when an audio error occurs

        Parameters:
        error - Description of the error
        exception - Optional exception that caused the error