Search
Preparing search index...
The search index is not available
zego-express-engine-reactnative
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"impl/ZegoExpressEngineImpl"
ZegoAudioEffectPlayerImpl
Class ZegoAudioEffectPlayerImpl
Hierarchy
ZegoAudioEffectPlayer
ZegoAudioEffectPlayerImpl
Index
Constructors
constructor
Properties
_index
Methods
get
Current
Progress
get
Index
get
Total
Duration
load
Resource
off
on
pause
pause
All
resume
resume
All
seek
To
set
Volume
set
Volume
All
start
stop
stop
All
unload
Resource
Constructors
constructor
new
Zego
Audio
Effect
Player
Impl
(
index
:
number
)
:
ZegoAudioEffectPlayerImpl
Parameters
index:
number
Returns
ZegoAudioEffectPlayerImpl
Properties
Private
_index
_index
:
number
Methods
get
Current
Progress
get
Current
Progress
(
audioEffectID
:
number
)
:
Promise
<
number
>
Parameters
audioEffectID:
number
Returns
Promise
<
number
>
get
Index
get
Index
(
)
:
number
Returns
number
get
Total
Duration
get
Total
Duration
(
audioEffectID
:
number
)
:
Promise
<
number
>
Parameters
audioEffectID:
number
Returns
Promise
<
number
>
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
]
)
:
void
Type parameters
AudioEffectPlayerEventType
:
keyof
ZegoAudioEffectPlayerListener
Parameters
event:
AudioEffectPlayerEventType
Optional
callback:
ZegoAudioEffectPlayerListener
[
AudioEffectPlayerEventType
]
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
)
:
Promise
<
void
>
Parameters
audioEffectID:
number
Returns
Promise
<
void
>
pause
All
pause
All
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
resume
resume
(
audioEffectID
:
number
)
:
Promise
<
void
>
Parameters
audioEffectID:
number
Returns
Promise
<
void
>
resume
All
resume
All
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
seek
To
seek
To
(
audioEffectID
:
number
, millisecond
:
number
)
:
Promise
<
ZegoAudioEffectPlayerSeekToResult
>
Parameters
audioEffectID:
number
millisecond:
number
Returns
Promise
<
ZegoAudioEffectPlayerSeekToResult
>
set
Volume
set
Volume
(
audioEffectID
:
number
, volume
:
number
)
:
Promise
<
void
>
Parameters
audioEffectID:
number
volume:
number
Returns
Promise
<
void
>
set
Volume
All
set
Volume
All
(
volume
:
number
)
:
Promise
<
void
>
Parameters
volume:
number
Returns
Promise
<
void
>
start
start
(
audioEffectID
:
number
, path
:
string
, config
:
ZegoAudioEffectPlayConfig
)
:
Promise
<
void
>
Parameters
audioEffectID:
number
path:
string
config:
ZegoAudioEffectPlayConfig
Returns
Promise
<
void
>
stop
stop
(
audioEffectID
:
number
)
:
Promise
<
void
>
Parameters
audioEffectID:
number
Returns
Promise
<
void
>
stop
All
stop
All
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
unload
Resource
unload
Resource
(
audioEffectID
:
number
)
:
Promise
<
void
>
Parameters
audioEffectID:
number
Returns
Promise
<
void
>
Globals
Internals
"index"
Externals
"
Zego
Express
Defines"
"
Zego
Express
Engine"
"
Zego
Express
Event
Handler"
"
Zego
Render
View"
"impl/
Zego
Express
Engine
Impl"
Zego
Audio
Effect
Player
Impl
constructor
_index
get
Current
Progress
get
Index
get
Total
Duration
load
Resource
off
on
pause
pause
All
resume
resume
All
seek
To
set
Volume
set
Volume
All
start
stop
stop
All
unload
Resource
Zego
Express
Engine
Impl
Zego
Media
Player
Impl
Zego
Any
Callback
Prefix
Zego
Event
Zego
Express
Native
Module
engine
Generated using
TypeDoc