Search
Preparing search index...
The search index is not available
ZegoExpressEngine-OHOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ZegoAudioEffectPlayerImpl"
ZegoAudioEffectPlayerImpl
Class ZegoAudioEffectPlayerImpl
Hierarchy
ZegoAudioEffectPlayer
ZegoAudioEffectPlayerImpl
Index
Constructors
constructor
Methods
emit
get
Current
Progress
get
Index
get
Native
Player
get
Total
Duration
get
Wrap
Player
init
Player
Inner
load
Resource
off
on
pause
pause
All
remove
All
Lister
resume
resume
All
seek
To
set
Play
Speed
set
Play
Volume
set
Play
Volume
All
set
Publish
Volume
set
Publish
Volume
All
set
Volume
set
Volume
All
start
stop
stop
All
uninit
Player
Inner
unload
Resource
update
Position
Constructors
constructor
new
Zego
Audio
Effect
Player
Impl
(
originalPlayer
:
number
)
:
ZegoAudioEffectPlayerImpl
Parameters
originalPlayer:
number
Returns
ZegoAudioEffectPlayerImpl
Methods
emit
emit
(
eventName
:
string
,
...
args
:
any
[]
)
:
void
Parameters
eventName:
string
Rest
...
args:
any
[]
Returns
void
get
Current
Progress
get
Current
Progress
(
audioEffectID
:
number
)
:
number
Parameters
audioEffectID:
number
Returns
number
get
Index
get
Index
(
)
:
number
Returns
number
get
Native
Player
get
Native
Player
(
)
:
number
Returns
number
get
Total
Duration
get
Total
Duration
(
audioEffectID
:
number
)
:
number
Parameters
audioEffectID:
number
Returns
number
get
Wrap
Player
get
Wrap
Player
(
)
:
any
Returns
any
init
Player
Inner
init
Player
Inner
(
)
:
void
Returns
void
load
Resource
load
Resource
(
audioEffectID
:
number
, path
:
string
)
:
Promise
<
ZegoAudioEffectPlayerLoadResourceResult
>
Parameters
audioEffectID:
number
path:
string
Returns
Promise
<
ZegoAudioEffectPlayerLoadResourceResult
>
off
off<AudioEffectPlayerEventType>
(
event
:
AudioEffectPlayerEventType
, callback
:
ZegoAudioEffectPlayerListener
[
AudioEffectPlayerEventType
]
|
undefined
)
:
void
Type parameters
AudioEffectPlayerEventType
:
keyof
ZegoAudioEffectPlayerListener
Parameters
event:
AudioEffectPlayerEventType
callback:
ZegoAudioEffectPlayerListener
[
AudioEffectPlayerEventType
]
|
undefined
Returns
void
on
on<AudioEffectPlayerEventType>
(
event
:
AudioEffectPlayerEventType
, callback
:
ZegoAudioEffectPlayerListener
[
AudioEffectPlayerEventType
]
)
:
void
Type parameters
AudioEffectPlayerEventType
:
keyof
ZegoAudioEffectPlayerListener
Parameters
event:
AudioEffectPlayerEventType
callback:
ZegoAudioEffectPlayerListener
[
AudioEffectPlayerEventType
]
Returns
void
pause
pause
(
audioEffectID
:
number
)
:
void
Parameters
audioEffectID:
number
Returns
void
pause
All
pause
All
(
)
:
void
Returns
void
remove
All
Lister
remove
All
Lister
(
)
:
void
Returns
void
resume
resume
(
audioEffectID
:
number
)
:
void
Parameters
audioEffectID:
number
Returns
void
resume
All
resume
All
(
)
:
void
Returns
void
seek
To
seek
To
(
audioEffectID
:
number
, millisecond
:
number
)
:
Promise
<
ZegoAudioEffectPlayerSeekToResult
>
Parameters
audioEffectID:
number
millisecond:
number
Returns
Promise
<
ZegoAudioEffectPlayerSeekToResult
>
set
Play
Speed
set
Play
Speed
(
audioEffectID
:
number
, speed
:
number
)
:
void
Parameters
audioEffectID:
number
speed:
number
Returns
void
set
Play
Volume
set
Play
Volume
(
audioEffectID
:
number
, volume
:
number
)
:
void
Parameters
audioEffectID:
number
volume:
number
Returns
void
set
Play
Volume
All
set
Play
Volume
All
(
volume
:
number
)
:
void
Parameters
volume:
number
Returns
void
set
Publish
Volume
set
Publish
Volume
(
audioEffectID
:
number
, volume
:
number
)
:
void
Parameters
audioEffectID:
number
volume:
number
Returns
void
set
Publish
Volume
All
set
Publish
Volume
All
(
volume
:
number
)
:
void
Parameters
volume:
number
Returns
void
set
Volume
set
Volume
(
audioEffectID
:
number
, volume
:
number
)
:
void
Parameters
audioEffectID:
number
volume:
number
Returns
void
set
Volume
All
set
Volume
All
(
volume
:
number
)
:
void
Parameters
volume:
number
Returns
void
start
start
(
audioEffectID
:
number
, path
?:
string
, config
?:
ZegoAudioEffectPlayConfig
)
:
void
Parameters
audioEffectID:
number
Optional
path:
string
Optional
config:
ZegoAudioEffectPlayConfig
Returns
void
stop
stop
(
audioEffectID
:
number
)
:
void
Parameters
audioEffectID:
number
Returns
void
stop
All
stop
All
(
)
:
void
Returns
void
uninit
Player
Inner
uninit
Player
Inner
(
)
:
void
Returns
void
unload
Resource
unload
Resource
(
audioEffectID
:
number
)
:
void
Parameters
audioEffectID:
number
Returns
void
update
Position
update
Position
(
audioEffectID
:
number
, position
:
number
[]
)
:
void
Parameters
audioEffectID:
number
position:
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
Audio
Effect
Player
Impl
constructor
emit
get
Current
Progress
get
Index
get
Native
Player
get
Total
Duration
get
Wrap
Player
init
Player
Inner
load
Resource
off
on
pause
pause
All
remove
All
Lister
resume
resume
All
seek
To
set
Play
Speed
set
Play
Volume
set
Play
Volume
All
set
Publish
Volume
set
Publish
Volume
All
set
Volume
set
Volume
All
start
stop
stop
All
uninit
Player
Inner
unload
Resource
update
Position
Call
Back
Generated using
TypeDoc