다음을 통해 공유


MediaDrm.MetricsConstants.SessionEndTimesMs Field

Definition

Key to extract the end times of sessions.

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

Field Value

Attributes

Remarks

Key to extract the end times of sessions. Times are represented as milliseconds since epoch (1970-01-01T00:00:00Z). The end times are returned from the PersistableBundle from a #getMetrics call. The end times are returned as another PersistableBundle containing the session ids as keys and the end 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 end time for each session.

Java documentation for android.media.MediaDrm.MetricsConstants.SESSION_END_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