Share via


MediaCodecInfo.CodecCapabilities.MaxSupportedInstances Property

Definition

Returns the max number of the supported concurrent codec instances.

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

Property Value

Attributes

Remarks

Returns the max number of the supported concurrent codec instances.

This is a hint for an upper bound. Applications should not expect to successfully operate more instances than the returned value, but the actual number of concurrently operable instances may be less as it depends on the available resources at time of use.

Java documentation for android.media.MediaCodecInfo.CodecCapabilities.getMaxSupportedInstances().

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