Search
Preparing search index...
The search index is not available
ZegoExpressEngine-OHOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ZegoRangeAudioImpl"
ZegoRangeAudioImpl
Class ZegoRangeAudioImpl
Hierarchy
ZegoRangeAudio
ZegoRangeAudioImpl
Index
Constructors
constructor
Methods
emit
enable
Microphone
enable
Spatializer
enable
Speaker
get
Native
Range
Audio
get
Wrap
Range
Audio
init
Range
Audio
Inner
mute
User
off
on
remove
All
Lister
set
Audio
Receive
Range
set
Position
Update
Frequency
set
Range
Audio
Custom
Mode
set
Range
Audio
Mode
set
TeamID
uninit
Range
Audio
Inner
update
Audio
Source
update
Self
Position
Constructors
constructor
new
Zego
Range
Audio
Impl
(
originalRangeAudio
:
number
)
:
ZegoRangeAudioImpl
Parameters
originalRangeAudio:
number
Returns
ZegoRangeAudioImpl
Methods
emit
emit
(
eventName
:
string
,
...
args
:
any
[]
)
:
void
Parameters
eventName:
string
Rest
...
args:
any
[]
Returns
void
enable
Microphone
enable
Microphone
(
enable
:
boolean
)
:
void
Parameters
enable:
boolean
Returns
void
enable
Spatializer
enable
Spatializer
(
enable
:
boolean
)
:
void
Parameters
enable:
boolean
Returns
void
enable
Speaker
enable
Speaker
(
enable
:
boolean
)
:
void
Parameters
enable:
boolean
Returns
void
get
Native
Range
Audio
get
Native
Range
Audio
(
)
:
number
Returns
number
get
Wrap
Range
Audio
get
Wrap
Range
Audio
(
)
:
any
Returns
any
init
Range
Audio
Inner
init
Range
Audio
Inner
(
)
:
void
Returns
void
mute
User
mute
User
(
userID
:
string
, mute
:
boolean
)
:
void
Parameters
userID:
string
mute:
boolean
Returns
void
off
off<RangeAudioEventType>
(
event
:
RangeAudioEventType
, callback
:
undefined
|
ZegoRangeAudioListener
[
RangeAudioEventType
]
)
:
void
Type parameters
RangeAudioEventType
:
keyof
ZegoRangeAudioListener
Parameters
event:
RangeAudioEventType
callback:
undefined
|
ZegoRangeAudioListener
[
RangeAudioEventType
]
Returns
void
on
on<RangeAudioEventType>
(
event
:
RangeAudioEventType
, callback
:
ZegoRangeAudioListener
[
RangeAudioEventType
]
)
:
void
Type parameters
RangeAudioEventType
:
keyof
ZegoRangeAudioListener
Parameters
event:
RangeAudioEventType
callback:
ZegoRangeAudioListener
[
RangeAudioEventType
]
Returns
void
remove
All
Lister
remove
All
Lister
(
)
:
void
Returns
void
set
Audio
Receive
Range
set
Audio
Receive
Range
(
param
:
ZegoReceiveRangeParam
)
:
void
Parameters
param:
ZegoReceiveRangeParam
Returns
void
set
Position
Update
Frequency
set
Position
Update
Frequency
(
frequency
:
number
)
:
void
Parameters
frequency:
number
Returns
void
set
Range
Audio
Custom
Mode
set
Range
Audio
Custom
Mode
(
speakMode
:
ZegoRangeAudioSpeakMode
, listenMode
:
ZegoRangeAudioListenMode
)
:
void
Parameters
speakMode:
ZegoRangeAudioSpeakMode
listenMode:
ZegoRangeAudioListenMode
Returns
void
set
Range
Audio
Mode
set
Range
Audio
Mode
(
mode
:
ZegoRangeAudioMode
)
:
void
Parameters
mode:
ZegoRangeAudioMode
Returns
void
set
TeamID
set
TeamID
(
teamID
:
string
)
:
void
Parameters
teamID:
string
Returns
void
uninit
Range
Audio
Inner
uninit
Range
Audio
Inner
(
)
:
void
Returns
void
update
Audio
Source
update
Audio
Source
(
userID
:
string
, position
:
number
[]
)
:
void
Parameters
userID:
string
position:
number
[]
Returns
void
update
Self
Position
update
Self
Position
(
position
:
number
[]
, axisForward
:
number
[]
, axisRight
:
number
[]
, axisUp
:
number
[]
)
:
void
Parameters
position:
number
[]
axisForward:
number
[]
axisRight:
number
[]
axisUp:
number
[]
Returns
void
Globals
"
Zego
Audio
Effect
Player
Impl"
"
Zego
Express
Defines"
"
Zego
Express
Engine"
"
Zego
Express
Engine
Impl"
"
Zego
Express
Error
Code"
"
Zego
Express
Event
Handler"
"
Zego
Media
Player
Impl"
"
Zego
Range
Audio
Impl"
"test"
"utils/
Zego
App
Info"
"utils/
Zego
Background
Monitor"
"utils/
Zego
Net
State
Monitor"
"utils/
Zego
Orientation
Monitor"
"ve/tsnapi/
Obj
Registry"
"ve/tsnapi/
TsNapi"
"ve/ve/
Log"
"ve/ve/
Permission
Checker"
"ve/ve/
ZgAudio
Device"
"ve/ve/
ZgUtil"
Zego
Range
Audio
Impl
constructor
emit
enable
Microphone
enable
Spatializer
enable
Speaker
get
Native
Range
Audio
get
Wrap
Range
Audio
init
Range
Audio
Inner
mute
User
off
on
remove
All
Lister
set
Audio
Receive
Range
set
Position
Update
Frequency
set
Range
Audio
Custom
Mode
set
Range
Audio
Mode
set
TeamID
uninit
Range
Audio
Inner
update
Audio
Source
update
Self
Position
Call
Back
Generated using
TypeDoc