Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Methods

emit

  • emit(eventName: string, ...args: any[]): void
  • Parameters

    • eventName: string
    • Rest ...args: any[]

    Returns void

getCurrentProgress

  • getCurrentProgress(audioEffectID: number): number

getIndex

  • getIndex(): number

getNativePlayer

  • getNativePlayer(): number
  • Returns number

getTotalDuration

  • getTotalDuration(audioEffectID: number): number

getWrapPlayer

  • getWrapPlayer(): any
  • Returns any

initPlayerInner

  • initPlayerInner(): void
  • Returns void

loadResource

off

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

    Parameters

    • event: AudioEffectPlayerEventType
    • callback: ZegoAudioEffectPlayerListener[AudioEffectPlayerEventType] | undefined

    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): void

pauseAll

  • pauseAll(): void

removeAllLister

  • removeAllLister(): void
  • Returns void

resume

  • resume(audioEffectID: number): void

resumeAll

  • resumeAll(): void

seekTo

setPlaySpeed

  • setPlaySpeed(audioEffectID: number, speed: number): void

setPlayVolume

  • setPlayVolume(audioEffectID: number, volume: number): void

setPlayVolumeAll

  • setPlayVolumeAll(volume: number): void

setPublishVolume

  • setPublishVolume(audioEffectID: number, volume: number): void

setPublishVolumeAll

  • setPublishVolumeAll(volume: number): void

setVolume

  • setVolume(audioEffectID: number, volume: number): void

setVolumeAll

  • setVolumeAll(volume: number): void

start

stop

  • stop(audioEffectID: number): void
  • Parameters

    • audioEffectID: number

    Returns void

stopAll

  • stopAll(): void

uninitPlayerInner

  • uninitPlayerInner(): void
  • Returns void

unloadResource

  • unloadResource(audioEffectID: number): void

updatePosition

  • updatePosition(audioEffectID: number, position: number[]): void

Generated using TypeDoc