MediaPlaybackTrait.SeekCommand.Request

class MediaPlaybackTrait.SeekCommand.Request : ClusterStruct


The request payload for the Seek command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(position: ULong)

Creates a request payload for the Seek command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

ULong

The position to seek to, relative to the start of the media, in milliseconds.

Public constructors

Request

Request(position: ULong)

Creates a request payload for the Seek command.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

position

val positionULong

The position to seek to, relative to the start of the media, in milliseconds.