MediaPositionState

Overview

The Media Session API's MediaPositionState dictionary is used to represent the current playback position of a media session.

Location

Properties


duration

 

property duration: Double read write;

 

Double duration { get; set; }

 

var duration: Double { get{} set{} }

 

Double duration { __get; __set; }

 

Property duration() As Double

playbackRate

 

property playbackRate: Double read write;

 

Double playbackRate { get; set; }

 

var playbackRate: Double { get{} set{} }

 

Double playbackRate { __get; __set; }

 

Property playbackRate() As Double

position

 

property position: Int32 read write;

 

Int32 position { get; set; }

 

var position: Int32 { get{} set{} }

 

Int32 position { __get; __set; }

 

Property position() As Int32