다음을 통해 공유


MediaDrm.MetricsConstants.EventKeyNeededCount Field

Definition

Key to extract the count of OnEventListener#onEvent calls of type KEY_NEEDED occured.

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

Field Value

Attributes

Remarks

Key to extract the count of OnEventListener#onEvent calls of type KEY_NEEDED occured. The count is extracted from the PersistableBundle returned from a #getMetrics call. The count is a Long value (android.os.BaseBundle#getLong).

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

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