struct
Matter::Cluster::Definitions::MediaPlayback::PlaybackPosition
- Matter::Cluster::Definitions::MediaPlayback::PlaybackPosition
- Struct
- Value
- Object
Overview
This structure defines a playback position within a media stream being played.
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/media_playback.crConstructors
Instance Method Summary
-
#position : UInt64 | Nil
This shall indicate the associated discrete position within the media stream, in milliseconds from the beginning of the stream, being associated with the time indicated by the UpdatedAt field.
-
#position=(position : UInt64 | Nil)
This shall indicate the associated discrete position within the media stream, in milliseconds from the beginning of the stream, being associated with the time indicated by the UpdatedAt field.
-
#updated_at : UInt64
This shall indicate the time when the position was last updated.
-
#updated_at=(updated_at : UInt64)
This shall indicate the time when the position was last updated.
Constructor Detail
Instance Method Detail
This shall indicate the associated discrete position within the media stream, in milliseconds from the beginning of the stream, being associated with the time indicated by the UpdatedAt field. The Position shall not be greater than the duration of the media if duration is specified. The Position shall not be greater than the time difference between current time and start time of the media when start time is specified.
A value of null shall indicate that playback position is not applicable for the current state of the media playback (For example : Live media with no known duration and where seek is not supported).
This shall indicate the associated discrete position within the media stream, in milliseconds from the beginning of the stream, being associated with the time indicated by the UpdatedAt field. The Position shall not be greater than the duration of the media if duration is specified. The Position shall not be greater than the time difference between current time and start time of the media when start time is specified.
A value of null shall indicate that playback position is not applicable for the current state of the media playback (For example : Live media with no known duration and where seek is not supported).
This shall indicate the time when the position was last updated.