MediaDirection

@Serializable(with = MediaDirectionSerializer::class)
@ObjCName(name = "Media")
enum MediaDirection : Enum<MediaDirection> , EnumValue(source)

Represents the possible media directions for a call.

This enum defines the directionality of media streams in calls, such as whether the stream is sending, receiving, both, or inactive.

Entries

Link copied to clipboard

Represents a bidirectional media stream, where both sending and receiving are active.

Link copied to clipboard

Represents a unidirectional media stream where only receiving is active.

Link copied to clipboard

Represents a unidirectional media stream where only sending is active.

Link copied to clipboard

Represents a media stream that is currently inactive, neither sending nor receiving.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override val value: String

The String representation of the media direction.

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.