omni.timeline.live_session#

Classes Summary:

SessionState

SessionState manages the session state for Omni UI by tracking user information and handling a timeline session. It provides functionality to add and remove users, clear the user list, and retrieve a specific user by identifier. The class also supports registering and unregistering callback functions that are triggered when the user list is updated. This enables external components to react promptly to changes in the session state.

TimelineSession

A class that manages timeline sessions in Omni UI.

TimelineSessionRoleType

Represents the role type for a timeline session.

Functions Summary:

get_session_state

Return the current session state from the session watcher.

get_session_window

Return the current user window instance.

get_timeline_session

Return the timeline session from the session watcher if available.