Sdílet prostřednictvím


MediaCodec.CodecInfo Property

Definition

Get the codec info.

public Android.Media.MediaCodecInfo CodecInfo { [Android.Runtime.Register("getCodecInfo", "()Landroid/media/MediaCodecInfo;", "")] get; }
[<get: Android.Runtime.Register("getCodecInfo", "()Landroid/media/MediaCodecInfo;", "")>]
member this.CodecInfo : Android.Media.MediaCodecInfo

Property Value

Attributes

Exceptions

if in the Released state.

Remarks

Get the codec info. If the codec was created by createDecoderByType or createEncoderByType, what component is chosen is not known beforehand, and thus the caller does not have the MediaCodecInfo.

Java documentation for android.media.MediaCodec.getCodecInfo().

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