struct

Matter::Cluster::Definitions::MediaPlayback::SkipBackwardRequest

Inherits TLV::Serializable < Struct < Value < Object

Input to the MediaPlayback skipBackward command

Constructors

new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

delta_position_milliseconds

This shall indicate the duration of the time span to skip backward in the media, in milliseconds. In case the resulting position falls in the middle of a frame, the server shall set the position to the beginning of that frame and set the SampledPosition attribute on the cluster accordingly. If the resultant position falls before the earliest valid position to which a client may seek back to, the position should be set to that earliest valid position. If the SampledPosition attribute is supported it shall be updated on the cluster accordingly.

Source
delta_position_milliseconds=(delta_position_milliseconds : UInt64)

This shall indicate the duration of the time span to skip backward in the media, in milliseconds. In case the resulting position falls in the middle of a frame, the server shall set the position to the beginning of that frame and set the SampledPosition attribute on the cluster accordingly. If the resultant position falls before the earliest valid position to which a client may seek back to, the position should be set to that earliest valid position. If the SampledPosition attribute is supported it shall be updated on the cluster accordingly.

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source