PushAvStreamTransportTrait.TransportTriggerOptionsStruct

class PushAvStreamTransportTrait.TransportTriggerOptionsStruct : ClusterStruct


Settings related to triggering events.

Summary

Public constructors

Creates the TransportTriggerOptionsStruct 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<UShort>

The maximum length of pre-roll content (video or audio) that can be included when a transport trigger occurs.

OptionalValue<UByte?>

The sensitivity level for motion-triggered stream transport.

OptionalValue<PushAvStreamTransportTrait.TransportMotionTriggerTimeControlStruct>

The time control for the motion-triggered stream transport.

OptionalValue<List<PushAvStreamTransportTrait.TransportZoneOptionsStruct>?>

The motion zones to trigger the stream.

PushAvStreamTransportTrait.TransportTriggerTypeEnum

The trigger type of the transport.

Public constructors

TransportTriggerOptionsStruct

TransportTriggerOptionsStruct(
    triggerType: PushAvStreamTransportTrait.TransportTriggerTypeEnum = TransportTriggerTypeEnum.Command,
    motionZones: OptionalValue<List<PushAvStreamTransportTrait.TransportZoneOptionsStruct>?> = OptionalValue.absent(),
    motionSensitivity: OptionalValue<UByte?> = OptionalValue.absent(),
    motionTimeControl: OptionalValue<PushAvStreamTransportTrait.TransportMotionTriggerTimeControlStruct> = OptionalValue.absent(),
    maxPreRollLen: OptionalValue<UShort> = OptionalValue.absent()
)

Creates the TransportTriggerOptionsStruct 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

maxPreRollLen

val maxPreRollLenOptionalValue<UShort>

The maximum length of pre-roll content (video or audio) that can be included when a transport trigger occurs.

motionSensitivity

val motionSensitivityOptionalValue<UByte?>

The sensitivity level for motion-triggered stream transport.

motionTimeControl

val motionTimeControlOptionalValue<PushAvStreamTransportTrait.TransportMotionTriggerTimeControlStruct>

The time control for the motion-triggered stream transport.

motionZones

val motionZonesOptionalValue<List<PushAvStreamTransportTrait.TransportZoneOptionsStruct>?>

The motion zones to trigger the stream.

triggerType

val triggerTypePushAvStreamTransportTrait.TransportTriggerTypeEnum

The trigger type of the transport.