This class is deprecated.
The Stream Protect API will be shutdown in 2023.
AStreamProtectEvent
instance is aParcelable
that indicates the status of Stream Protect.
Constant Summary
int | DISABLED | |
int | ENABLED | |
int | STOPPED_INTERNAL_ERROR | Stream Protect has stopped because of internal errors. |
int | STOPPED_NO_FRAME_INFO | Stream Protect has stopped as it did not receive
the nextFrameInfo
within several seconds, or it did not receive the firstFrameInfo
for a long time. |
int | STOPPED_SESSION_IN_BACKGROUND | Stream Protect has detected that the current app has gone to background and stopped. |
int | STOPPED_WIFI_DISCONNECTED | Stream Protect has stopped as the device is no longer connected to Wifi. |
int | UNKNOWN_EVENT | Event codes |
Inherited Constant Summary
Field Summary
public static finalCreator<StreamProtectEvent> | CREATOR |
Public Constructor Summary
StreamProtectEvent(int eventCode)
This constructor is deprecated. The Stream Protect API will be shutdown in
2023.
|
Public Method Summary
int |
getEventCode()
This method is deprecated. The Stream Protect API will be shutdown in
2023.
|
String |
toString()
|
void |
writeToParcel(Parceldest, int
flags)
|
Inherited Method Summary
Constants
public static final int DISABLED
public static final int ENABLED
public static final int STOPPED_INTERNAL_ERROR
Stream Protect has stopped because of internal errors.
public static final int STOPPED_NO_FRAME_INFO
public static final int STOPPED_SESSION_IN_BACKGROUND
Stream Protect has detected that the current app has gone to background and stopped.
public static final int STOPPED_WIFI_DISCONNECTED
Stream Protect has stopped as the device is no longer connected to Wifi.
public static final int UNKNOWN_EVENT
Event codes
Fields
public static finalCreator<StreamProtectEvent> CREATOR
Public Constructors
publicStreamProtectEvent(int eventCode)
This constructor is deprecated.
The Stream Protect API will be shutdown in 2023.
Indicates the status of Stream Protect.
Public Methods
public intgetEventCode()
This method is deprecated.
The Stream Protect API will be shutdown in 2023.
Extracts the status of Stream Protect.