Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ZegoAudioEffectPlayerListener

Hierarchy

  • ZegoAudioEffectPlayerListener

Index

Properties

audioEffectPlayerStateUpdate

audioEffectPlayerStateUpdate: (audioEffectPlayer: ZegoAudioEffectPlayer, audioEffectID: number, state: ZegoAudioEffectPlayState, errorCode: number) => void

Audio effect playback state callback.

Available since: 1.16.0 Description: This callback is triggered when the playback state of a audio effect of the audio effect player changes. Trigger: This callback is triggered when the playback status of the audio effect changes. Restrictions: None.

param

Audio effect player instance that triggers this callback.

param

The ID of the audio effect resource that triggered this callback.

param

The playback state of the audio effect.

param

Error code, please refer to the error codes document https://docs.zegocloud.com/en/5548.html for details.

Type declaration

Generated using TypeDoc