Share via


MediaDrm.MetricsConstants.SessionStartTimesMs Field

Definition

Key to extract the start times of sessions.

[Android.Runtime.Register("SESSION_START_TIMES_MS", ApiSince=28)]
public const string SessionStartTimesMs;
[<Android.Runtime.Register("SESSION_START_TIMES_MS", ApiSince=28)>]
val mutable SessionStartTimesMs : string

Field Value

Attributes

Remarks

Key to extract the start times of sessions. Times are represented as milliseconds since epoch (1970-01-01T00:00:00Z). The start times are returned from the PersistableBundle from a #getMetrics call. The start times are returned as another PersistableBundle containing the session ids as keys and the start times as long values. Use android.os.BaseBundle#keySet to get the list of session ids, and then android.os.BaseBundle#getLong to get the start time for each session.

Java documentation for android.media.MediaDrm.MetricsConstants.SESSION_START_TIMES_MS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to