Search
Preparing search index...
The search index is not available
ZegoExpressEngine-OHOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"utils/ZegoBackgroundMonitor"
ZegoBackgroundMonitor
Class ZegoBackgroundMonitor
Hierarchy
ZegoBackgroundMonitor
Index
Constructors
constructor
Properties
cb_
context_
lifecycle_
id_
Methods
notify
Background
State
Changed
on
Ability
Background
on
Ability
Continue
on
Ability
Create
on
Ability
Destroy
on
Ability
Foreground
on
Window
Stage
Active
on
Window
Stage
Create
on
Window
Stage
Destroy
on
Window
Stage
Inactive
start
stop
Constructors
constructor
new
Zego
Background
Monitor
(
)
:
ZegoBackgroundMonitor
Returns
ZegoBackgroundMonitor
Properties
Optional
cb_
cb_
:
Function
Optional
context_
context_
:
common.ApplicationContext
lifecycle_
id_
lifecycle_
id_
:
number
Methods
notify
Background
State
Changed
notify
Background
State
Changed
(
isBackground
:
boolean
)
:
void
Parameters
isBackground:
boolean
Returns
void
on
Ability
Background
on
Ability
Background
(
ability
:
UIAbility
)
:
void
Parameters
ability:
UIAbility
Returns
void
on
Ability
Continue
on
Ability
Continue
(
ability
:
UIAbility
)
:
void
Parameters
ability:
UIAbility
Returns
void
on
Ability
Create
on
Ability
Create
(
ability
:
UIAbility
)
:
void
Parameters
ability:
UIAbility
Returns
void
on
Ability
Destroy
on
Ability
Destroy
(
ability
:
UIAbility
)
:
void
Parameters
ability:
UIAbility
Returns
void
on
Ability
Foreground
on
Ability
Foreground
(
ability
:
UIAbility
)
:
void
Parameters
ability:
UIAbility
Returns
void
on
Window
Stage
Active
on
Window
Stage
Active
(
ability
:
UIAbility
, windowStage
:
window.WindowStage
)
:
void
Parameters
ability:
UIAbility
windowStage:
window.WindowStage
Returns
void
on
Window
Stage
Create
on
Window
Stage
Create
(
ability
:
UIAbility
, windowStage
:
window.WindowStage
)
:
void
Parameters
ability:
UIAbility
windowStage:
window.WindowStage
Returns
void
on
Window
Stage
Destroy
on
Window
Stage
Destroy
(
ability
:
UIAbility
, windowStage
:
window.WindowStage
)
:
void
Parameters
ability:
UIAbility
windowStage:
window.WindowStage
Returns
void
on
Window
Stage
Inactive
on
Window
Stage
Inactive
(
ability
:
UIAbility
, windowStage
:
window.WindowStage
)
:
void
Parameters
ability:
UIAbility
windowStage:
window.WindowStage
Returns
void
start
start
(
context
:
common.ApplicationContext
, cb
:
Function
)
:
void
Parameters
context:
common.ApplicationContext
cb:
Function
Returns
void
stop
stop
(
)
:
void
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
Background
Monitor
constructor
cb_
context_
lifecycle_
id_
notify
Background
State
Changed
on
Ability
Background
on
Ability
Continue
on
Ability
Create
on
Ability
Destroy
on
Ability
Foreground
on
Window
Stage
Active
on
Window
Stage
Create
on
Window
Stage
Destroy
on
Window
Stage
Inactive
start
stop
background
Monitor
Generated using
TypeDoc