Package com.zego.zegoavkit2.receiver
Class BackgroundMonitor
- java.lang.Object
-
- com.zego.zegoavkit2.receiver.BackgroundMonitor
-
- All Implemented Interfaces:
com.zego.zegoavkit2.receiver.Background.Listener
public final class BackgroundMonitor extends java.lang.Object implements com.zego.zegoavkit2.receiver.Background.Listener
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG
-
Constructor Summary
Constructors Constructor Description BackgroundMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
init(android.content.Context context)
boolean
isBackground()
boolean
isInited()
void
onBecameBackground()
void
onBecameForeground()
void
setThis(long pThis)
int
uninit()
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
setThis
public void setThis(long pThis)
-
init
public int init(android.content.Context context)
-
uninit
public int uninit()
-
isInited
public boolean isInited()
-
isBackground
public boolean isBackground()
-
onBecameForeground
public void onBecameForeground()
- Specified by:
onBecameForeground
in interfacecom.zego.zegoavkit2.receiver.Background.Listener
-
onBecameBackground
public void onBecameBackground()
- Specified by:
onBecameBackground
in interfacecom.zego.zegoavkit2.receiver.Background.Listener
-
-