MultimediaSessionState

The current state of a multimedia session.

These properties reflect the latest snapshot of the session. For reactive observation of state changes, use MultimediaSessionFlows.event.

Samples

val isConnected = session.status == MultimediaSessionStatus.Connected ||
    session.status == MultimediaSessionStatus.Answered
val isOnHold = !session.isActive

Inheritors

Properties

Link copied to clipboard
abstract val isActive: Boolean

Whether this session is currently active (not on hold). false when the session is held.

Link copied to clipboard

Whether the microphone is currently muted.

Link copied to clipboard
abstract val isSpeakerMuted: Boolean

Whether the speaker is currently muted.

Link copied to clipboard

The current MultimediaSessionStatus of this session.