MediaPlaybackTrait.PlaybackPositionStruct

class MediaPlaybackTrait.PlaybackPositionStruct


A playback position within a media stream.

Summary

Public constructors

PlaybackPositionStruct(updatedAt: ULong, position: ULong?)

Creates the PlaybackPositionStruct class.

Public properties

ULong?

The discrete position within the media stream, in milliseconds from the beginning of the stream, as of the time specified in the updatedAt field.

ULong

The time when the position was last updated.

Public constructors

PlaybackPositionStruct

PlaybackPositionStruct(updatedAt: ULong, position: ULong? = null)

Creates the PlaybackPositionStruct class.

Public properties

position

val positionULong?

The discrete position within the media stream, in milliseconds from the beginning of the stream, as of the time specified in the updatedAt field.

updatedAt

val updatedAtULong

The time when the position was last updated.