struct TransportTriggerOptionsStructSettings related to triggering events.
-
The trigger type of the transport.
Declaration
Swift
let triggerType: Matter.PushAvStreamTransportTrait.TransportTriggerTypeEnum -
The motion zones to trigger the stream.
Declaration
Swift
let motionZones: [Matter.PushAvStreamTransportTrait.TransportZoneOptionsStruct]? -
The sensitivity level for motion-triggered stream transport.
Declaration
Swift
let motionSensitivity: UInt8? -
The time control for the motion-triggered stream transport.
Declaration
Swift
let motionTimeControl: Matter.PushAvStreamTransportTrait.TransportMotionTriggerTimeControlStruct? -
The maximum length of pre-roll content (video or audio) that can be included when a transport trigger occurs.
Declaration
Swift
let maxPreRollLen: UInt16? -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?