Sdílet prostřednictvím


MediaDrm.MaxSessionCount Property

Definition

Return the maximum number of MediaDrm sessions that may be opened simultaneosly among all MediaDrm instances for the active DRM scheme.

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

Property Value

maximum sessions.

Attributes

Remarks

Return the maximum number of MediaDrm sessions that may be opened simultaneosly among all MediaDrm instances for the active DRM scheme. The maximum number of sessions is not affected by any sessions that may have already been opened.

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

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