struct

Matter::Cluster::Definitions::MediaPlayback::SkipForwardRequest

Inherits TLV::Serializable < Struct < Value < Object

Input to the MediaPlayback skipForward 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 forward 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 beyond the furthest valid position in the media the client may seek forward to, the position should be set to that furthest 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 forward 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 beyond the furthest valid position in the media the client may seek forward to, the position should be set to that furthest 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