PushAvStreamTransportTrait.TransportZoneOptionsStruct

class PushAvStreamTransportTrait.TransportZoneOptionsStruct : ClusterStruct


Defines options related to a specific zone for transport triggers.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

TransportZoneOptionsStruct(
    zone: UShort?,
    sensitivity: OptionalValue<UByte>
)

Creates the TransportZoneOptionsStruct class.

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

OptionalValue<UByte>

An optional 8-bit unsigned integer that indicates the sensitivity level for this zone.

UShort?

A nullable 16-bit unsigned integer that represents the zone ID.

Public constructors

TransportZoneOptionsStruct

TransportZoneOptionsStruct(
    zone: UShort? = null,
    sensitivity: OptionalValue<UByte> = OptionalValue.absent()
)

Creates the TransportZoneOptionsStruct class.

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

sensitivity

val sensitivityOptionalValue<UByte>

An optional 8-bit unsigned integer that indicates the sensitivity level for this zone.

zone

val zoneUShort?

A nullable 16-bit unsigned integer that represents the zone ID.