Compartilhar via


MediaCodecInfo.Name Property

Definition

Retrieve the codec name.

public string Name { [Android.Runtime.Register("getName", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getName", "()Ljava/lang/String;", "")>]
member this.Name : string

Property Value

Attributes

Remarks

Retrieve the codec name.

<strong>Note:</strong> Implementations may provide multiple aliases (codec names) for the same underlying codec, any of which can be used to instantiate the same underlying codec in MediaCodec#createByCodecName.

Applications targeting SDK <android.os.Build.VERSION_CODES#Q, cannot determine if the multiple codec names listed in MediaCodecList are in-fact for the same codec.

Java documentation for android.media.MediaCodecInfo.getName().

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