amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.utils / DefaultModality

DefaultModality

class DefaultModality

DefaultModality is a backwards compatible extension of the attendee id (UUID string) and session token schemas (base 64 string). It appends # to either strings, which indicates the modality of the participant.

For example, attendeeId: "abcdefg" contentAttendeeId: "abcdefg#content" base(contentAttendeeId): "abcdefg" modality(contentAttendeeId): "content" hasModality(contentAttendeeId): true

Constructors

<init>

DefaultModality is a backwards compatible extension of the attendee id (UUID string) and session token schemas (base 64 string). It appends # to either strings, which indicates the modality of the participant.

DefaultModality(id: String)

Functions

base

The base of the Id

fun base(): String

hasModality

Check whether the current Id contains the input modality

fun hasModality(modality: ModalityType): Boolean

id

The Id

fun id(): String

modality

The modality of the Id

fun modality(): ModalityType?

Companion Object Properties

MODALITY_SEPARATOR

const val MODALITY_SEPARATOR: String