WebRtcLiveViewTrait.ExtendLiveViewCommand.Response

class WebRtcLiveViewTrait.ExtendLiveViewCommand.Response : ClusterStruct


The outcome of the ExtendLiveView command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Response(liveSessionDurationSeconds: UShort)

Creates a response payload from the ExtendLiveView 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

UShort

The initial duration, in seconds, for the live stream.

Public constructors

Response

Response(liveSessionDurationSeconds: UShort)

Creates a response payload from the ExtendLiveView command.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

liveSessionDurationSeconds

val liveSessionDurationSecondsUShort

The initial duration, in seconds, for the live stream.