Enum Class OutsideAppCaptureState
- All Implemented Interfaces:
Serializable,Comparable<OutsideAppCaptureState>,Constable
The state of out-of-app screen capture during mobile co-browsing
(
CoBrowsingCaptureMode.MEDIA_PROJECTION).
This state doesn't tell you whether co-browsing is active. In every state other than ACTIVE, co-browsing, if it's active, captures inside the app.
To observe co-browsing itself, use UnbluConversation.isMobileCoBrowsingActive().
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe screen is being captured outside the app.The user didn't grant screen capture consent, either by refusing or by dismissing the dialog.Out-of-app capture couldn't be set up: screen capture isn't available on the device, or setup failed after the user granted consent.The screen isn't being captured outside the app: co-browsing isn't running, the capture mode isCoBrowsingCaptureMode.SCREENSHOT, or a previous out-of-app capture ended with the session.The system screen capture consent dialog is being shown.The user stopped screen capture from the system UI, or the system revoked it. -
Method Summary
Modifier and TypeMethodDescriptionstatic OutsideAppCaptureStateReturns the enum constant of this class with the specified name.static OutsideAppCaptureState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INACTIVE
The screen isn't being captured outside the app: co-browsing isn't running, the capture mode isCoBrowsingCaptureMode.SCREENSHOT, or a previous out-of-app capture ended with the session. -
REQUESTING_PERMISSION
-
ACTIVE
The screen is being captured outside the app. -
DENIED
The user didn't grant screen capture consent, either by refusing or by dismissing the dialog. Co-browsing continues inside the app. -
STOPPED
The user stopped screen capture from the system UI, or the system revoked it. Co-browsing continues inside the app. -
FAILED
Out-of-app capture couldn't be set up: screen capture isn't available on the device, or setup failed after the user granted consent.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-