Share via


MediaDrm.OpenSessionCount Property

Definition

Return the number of MediaDrm sessions that are currently opened simultaneously among all MediaDrm instances for the active DRM scheme.

public int OpenSessionCount { [Android.Runtime.Register("getOpenSessionCount", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getOpenSessionCount", "()I", "", ApiSince=28)>]
member this.OpenSessionCount : int

Property Value

the number of open sessions.

Attributes

Remarks

Return the number of MediaDrm sessions that are currently opened simultaneously among all MediaDrm instances for the active DRM scheme.

Java documentation for android.media.MediaDrm.getOpenSessionCount().

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