Android.Media.MediaCodec.InputFormat Property
Call this after MediaCodec.Configure(MediaFormat, Android.Views.Surface, Android.Views.Surface, Android.Views.Surface) returns successfully to get the input format accepted by the codec.

Syntax

[get: Android.Runtime.Register("getInputFormat", "()Landroid/media/MediaFormat;", "GetGetInputFormatHandler")]
public MediaFormat InputFormat { get; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif not in the Executing or Configured state.
!:NoType:android/media/MediaCodec$CodecException;Href=../../../reference/android/media/MediaCodec.CodecException.htmlupon codec error.

Remarks

Call this after MediaCodec.Configure(MediaFormat, Android.Views.Surface, Android.Views.Surface, Android.Views.Surface) returns successfully to get the input format accepted by the codec. Do this to determine what optional configuration parameters were supported by the codec.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16