WebRtcLiveViewTrait.ChangeLiveViewQualityCommand.Request

class WebRtcLiveViewTrait.ChangeLiveViewQualityCommand.Request : ClusterStruct


The request payload for the ChangeLiveViewQuality command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    mediaSessionId: String,
    qualityHint: WebRtcLiveViewTrait.QualityHint
)

Creates a request payload for the ChangeLiveViewQuality command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String

The media session ID of the live stream to change.

WebRtcLiveViewTrait.QualityHint

The quality hint for the live view session.

Public constructors

Request

Request(
    mediaSessionId: String = "",
    qualityHint: WebRtcLiveViewTrait.QualityHint = QualityHint.Unspecified
)

Creates a request payload for the ChangeLiveViewQuality command.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

mediaSessionId

val mediaSessionIdString

The media session ID of the live stream to change.

qualityHint

val qualityHintWebRtcLiveViewTrait.QualityHint

The quality hint for the live view session.