Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • Parameters

    • originalRangeAudio: number

    Returns ZegoRangeAudioImpl

Methods

emit

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

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

    Returns void

enableMicrophone

  • enableMicrophone(enable: boolean): void

enableSpatializer

  • enableSpatializer(enable: boolean): void

enableSpeaker

  • enableSpeaker(enable: boolean): void

getNativeRangeAudio

  • getNativeRangeAudio(): number
  • Returns number

getWrapRangeAudio

  • getWrapRangeAudio(): any
  • Returns any

initRangeAudioInner

  • initRangeAudioInner(): void
  • Returns void

muteUser

  • muteUser(userID: string, mute: boolean): void
  • Parameters

    • userID: string
    • mute: boolean

    Returns void

off

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

    Parameters

    • event: RangeAudioEventType
    • callback: undefined | ZegoRangeAudioListener[RangeAudioEventType]

    Returns void

on

  • on<RangeAudioEventType>(event: RangeAudioEventType, callback: ZegoRangeAudioListener[RangeAudioEventType]): void
  • Type parameters

    Parameters

    • event: RangeAudioEventType
    • callback: ZegoRangeAudioListener[RangeAudioEventType]

    Returns void

removeAllLister

  • removeAllLister(): void
  • Returns void

setAudioReceiveRange

setPositionUpdateFrequency

  • setPositionUpdateFrequency(frequency: number): void

setRangeAudioCustomMode

setRangeAudioMode

setTeamID

  • setTeamID(teamID: string): void

uninitRangeAudioInner

  • uninitRangeAudioInner(): void
  • Returns void

updateAudioSource

  • updateAudioSource(userID: string, position: number[]): void

updateSelfPosition

  • updateSelfPosition(position: number[], axisForward: number[], axisRight: number[], axisUp: number[]): void
  • Parameters

    • position: number[]
    • axisForward: number[]
    • axisRight: number[]
    • axisUp: number[]

    Returns void

Generated using TypeDoc