SLRManagedGroupSession

Interface which provides access to managed group.

Types

Link copied to clipboard
sealed class Event

Describes all possible updates of the managed watch party.

Link copied to clipboard
data class InfoMessage(val userId: String, val content: String, val date: Date)

Provides internal info Message.

Link copied to clipboard
data class Participant(val userId: String, val bypassId: String, val status: SLRManagedGroupSession.Participant.Status)

Provides access User and onCall status.

Link copied to clipboard

Describes different states of WatchPartySession.

Functions

Link copied to clipboard
abstract fun getCurrentUserId(): String

A function which provides internal user id's of the managed watch party.

Link copied to clipboard

A function which provides subscription to the managed group updates.

Link copied to clipboard
abstract fun getGroupId(): String

A function which provides id of the managed group.

Link copied to clipboard

A function which provides subscription to the managed group info messages.

Link copied to clipboard

A function which provides participants of the managed group.

Link copied to clipboard

Returns state of the session.

Link copied to clipboard
abstract fun getTitle(): String?

A function which provides title of the managed group.

Link copied to clipboard
abstract fun release()

A function to release watch party session.

Link copied to clipboard
abstract suspend fun sendInfoMessage(content: String): Boolean

A function which send message to the managed watch party subscribed participants.

Link copied to clipboard
abstract fun setOnCallEndedListener(listener: () -> Unit?)
Link copied to clipboard
abstract fun showChat(activity: FragmentActivity, resetHistory: Boolean = true)

A function to open chat ui overlay.

Link copied to clipboard
abstract fun showWatchParty(activity: FragmentActivity, resetHistory: Boolean = true)

A function to open watch party ui overlay.