Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Private _index

_index: number

Methods

getCurrentProgress

  • getCurrentProgress(audioEffectID: number): Promise<number>

getIndex

  • getIndex(): number

getTotalDuration

  • getTotalDuration(audioEffectID: number): Promise<number>

loadResource

off

  • off<AudioEffectPlayerEventType>(event: AudioEffectPlayerEventType, callback?: ZegoAudioEffectPlayerListener[AudioEffectPlayerEventType]): void
  • Type parameters

    Parameters

    • event: AudioEffectPlayerEventType
    • Optional callback: ZegoAudioEffectPlayerListener[AudioEffectPlayerEventType]

    Returns void

on

  • on<AudioEffectPlayerEventType>(event: AudioEffectPlayerEventType, callback: ZegoAudioEffectPlayerListener[AudioEffectPlayerEventType]): void
  • Type parameters

    Parameters

    • event: AudioEffectPlayerEventType
    • callback: ZegoAudioEffectPlayerListener[AudioEffectPlayerEventType]

    Returns void

pause

  • pause(audioEffectID: number): Promise<void>
  • Parameters

    • audioEffectID: number

    Returns Promise<void>

pauseAll

  • pauseAll(): Promise<void>

resume

  • resume(audioEffectID: number): Promise<void>
  • Parameters

    • audioEffectID: number

    Returns Promise<void>

resumeAll

  • resumeAll(): Promise<void>

seekTo

setVolume

  • setVolume(audioEffectID: number, volume: number): Promise<void>
  • Parameters

    • audioEffectID: number
    • volume: number

    Returns Promise<void>

setVolumeAll

  • setVolumeAll(volume: number): Promise<void>

start

stop

  • stop(audioEffectID: number): Promise<void>
  • Parameters

    • audioEffectID: number

    Returns Promise<void>

stopAll

  • stopAll(): Promise<void>

unloadResource

  • unloadResource(audioEffectID: number): Promise<void>

Generated using TypeDoc