ScreenMeetTest logoScreenMeetTest documentationAPI referencescreenmeettest
Mobile SDK

Session Events for Mobile

Updated Sep 2, 20262 min read

:::(Info) Session events were added in version 3.0.9 of the Mobile SDKs. :::

What are Session Events?

For logging and analytics, it is useful to understand the timing of various events within a session. These events are emitted from the various components in the ScreenMeet platform and aggregated together in the Agent Portal session events view: {height="" width=""}

The ScreenMeet Live platform provides many built-in events and they consist of a timestamp, type, and message.

Session Events from the Mobile SDK

As the Mobile SDK is built on the ScreenMeet Live platform, it emits, by default, a subset of the events provided by the ScreenMeet Live platform. There are certain ScreenMeet Live web application-specific features for which the SDK does NOT emit automatically. For example, for a mobile app, the lobby experience is application-specific, not provided by the SDK, and thus does not emit this event.

List of Events

| type | message | | --- | --- | | audio-muted | Audio stream muted | | audio-resumed | Audio stream muted | | audio-stream-stopped | Audio stream stopped from + t.label | | camera-access-error | An error has occurred while attempting to acquire the camera stream | | camera-access-requested | Attempting to acquire camera video stream | | camera-access-succeeded | Camera stream acquired successfully | | cobrowse-access-error | An error has occurred while attempting to acquire the cobrowse stream | | cobrowse-access-requested | Attempting to acquire cobrowse video stream | | cobrowse-access-succeeded | Cobrowse stream acquired successfully | | microphone-access-error | An error has occurred while attempting to acquire the audio stream | | microphone-access-requested | Attempting to acquire microphone audio stream | | microphone-access-succeeded | Microphone stream acquired successfully | | room-entered | Entered the meeting room. | | room-entry-requested | Requested permission to enter the room. | | video-stream-stopped | Video stream stopped. |

Custom Events from the Mobile SDK

In addition to to the built-in events, the SDKs allow for developers to send custom session events that will be available in the session logs.

Android:

ScreenMeet.logSessionEvent("custom_type", "custom_message")

iOS:

ScreenMeetDelegate.logSessionEvent(type: Swift.String, message: Swift.String)