MediaHeartbeatDelegate

MediaHeartbeatDelegate

new MediaHeartbeatDelegate()

Creates an instance of MediaHeartbeatDelegate class

Methods

getCurrentPlaybackTime()

Current position of the playhead. Value is specified in seconds from the beginning of the media item.
For live streaming, return playhead position if available or the current UTC time in seconds otherwise.

getQoSObject()

Returns the MediaObject instance containing current QoS information created using MediaHeartbeat.createQoSObject. This method can be called
multiple times during a playback session. Player implementation must always return the most
recently available QoS data.