Sdílet prostřednictvím


MediaCodec.InputFormat Property

Definition

Call this after #configure returns successfully to get the input format accepted by the codec.

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

Property Value

Attributes

Exceptions

if not in the Executing or Configured state.

upon codec error.

Remarks

Call this after #configure returns successfully to get the input format accepted by the codec. Do this to determine what optional configuration parameters were supported by the codec.

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

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