CameraAvStreamManagementTrait.SnapshotStreamModifyCommand.Request

class CameraAvStreamManagementTrait.SnapshotStreamModifyCommand.Request : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    snapshotStreamId: UShort,
    watermarkEnabled: OptionalValue<Boolean>,
    osdEnabled: OptionalValue<Boolean>
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

Request

Request(
    snapshotStreamId: UShort,
    watermarkEnabled: OptionalValue<Boolean> = OptionalValue.absent(),
    osdEnabled: OptionalValue<Boolean> = OptionalValue.absent()
)

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

osdEnabled

val osdEnabledOptionalValue<Boolean>

snapshotStreamId

val snapshotStreamIdUShort

watermarkEnabled

val watermarkEnabledOptionalValue<Boolean>