| java.lang.Object | |
| ↳ | com.glia.androidsdk.screensharing.ScreenSharing.Events |
Screen sharing events
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final AnnotationsRequestEvent | ANNOTATIONS_REQUEST | Triggered when Operator started to draw annotations during a screen sharing session, but the app does not have SYSTEM_ALERT_WINDOW permission to draw the annotations. | |||||||||
| public static final ScreenSharingRequestEvent | SCREEN_SHARING_REQUEST | Triggered when Operator requests Visitor to share their screen. | |||||||||
| public static final VisitorStateEvent | VISITOR_STATE | Triggered when Visitor screen sharing status changes. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Events() | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Triggered when Operator started to draw annotations during a screen sharing session, but the app does not have SYSTEM_ALERT_WINDOW permission to draw the annotations.
This event is not triggered if the Visitor has already given SYSTEM_ALERT_WINDOW permission during previous Engagements.
The event listener is called with a AnnotationsRequest instance.
Triggered when Operator requests Visitor to share their screen.
The event listener is called with a ScreenSharingRequest instance that allows to
accept or decline the screen sharing request.
Triggered when Visitor screen sharing status changes.
For instance, when the Visitor shares their screen with an Operator the event
is triggered with SHARING status, and when the Visitor ends screen sharing
the event is triggered with NOT_SHARING status.
The listener is also triggered with the latest state immediately when the listener is added.
The event listener is called with a VisitorScreenSharingState instance.