MediaCodec
BufferInfo
Callback
CodecException
CryptoException
CryptoInfo
FirstTunnelFrameReadyEventArgs
FrameRenderedEventArgs
IncompatibleWithBlockModelException
InvalidBufferFlagsException
IOnFirstTunnelFrameReadyListener
IOnFrameRenderedListener
LinearBlock
MetricsConstants
OutputFrame
ParameterDescriptor
QueueRequest
BufferFlagCodecConfig
BufferFlagDecodeOnly
BufferFlagEndOfStream
BufferFlagKeyFrame
BufferFlagPartialFrame
BufferFlagSyncFrame
ConfigureFlagEncode
ConfigureFlagUseBlockModel
ConfigureFlagUseCryptoAsync
CryptoModeAesCbc
CryptoModeAesCtr
CryptoModeUnencrypted
InfoOutputBuffersChanged
InfoOutputFormatChanged
InfoTryAgainLater
ParameterKeyHdr10PlusInfo
ParameterKeyLowLatency
ParameterKeyOffsetTime
ParameterKeyRequestSyncFrame
ParameterKeySuspend
ParameterKeySuspendTime
ParameterKeyTunnelPeek
ParameterKeyVideoBitrate
VideoScalingModeScaleToFit
VideoScalingModeScaleToFitWithCropping
CanonicalName
CodecInfo
InputFormat
JniPeerMembers
Metrics
Name
OutputFormat
SupportedVendorParameters
ThresholdClass
ThresholdType
Configure(MediaFormat, Surface, MediaCodecConfigFlags, MediaDescrambler)
Configure(MediaFormat, Surface, MediaCrypto, MediaCodecConfigFlags)
CreateByCodecName(String)
CreateDecoderByType(String)
CreateEncoderByType(String)
CreateInputSurface()
CreatePersistentInputSurface()
DequeueInputBuffer(Int64)
DequeueOutputBuffer(BufferInfo, Int64)
Flush()
GetInputBuffer(Int32)
GetInputBuffers()
GetInputImage(Int32)
GetOutputBuffer(Int32)
GetOutputBuffers()
GetOutputFormat(Int32)
GetOutputFrame(Int32)
GetOutputImage(Int32)
GetParameterDescriptor(String)
GetQueueRequest(Int32)
MapHardwareBuffer(HardwareBuffer)
QueueInputBuffer(Int32, Int32, Int32, Int64, MediaCodecBufferFlags)
QueueSecureInputBuffer(Int32, Int32, CryptoInfo, Int64, MediaCodecBufferFlags)
Release()
ReleaseOutputBuffer(Int32, Boolean)
ReleaseOutputBuffer(Int32, Int64)
Reset()
SetAudioPresentation(AudioPresentation)
SetCallback(Callback)
SetCallback(Callback, Handler)
SetInputSurface(Surface)
SetOnFirstTunnelFrameReadyListener(Handler, IOnFirstTunnelFrameReadyListener)
SetOnFrameRenderedListener(IOnFrameRenderedListener, Handler)
SetOutputSurface(Surface)
SetParameters(Bundle)
SetVideoScalingMode(VideoScalingMode)
SignalEndOfInputStream()
Start()
Stop()
SubscribeToVendorParameters(IList<String>)
UnsubscribeFromVendorParameters(IList<String>)
net9.0-android34.0
namespace Android.Media
{
[Register("android/media/MediaCodec", DoNotGenerateAcw = true)]
public sealed class MediaCodec : Object
{
[Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecInfoState enum directly instead of this field.", true)]
[Register("INFO_OUTPUT_FORMAT_CHANGED")]
public const MediaCodecInfoState InfoOutputFormatChanged = MediaCodecInfoState.OutputFormatChanged;
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Obsolete | This constant will be removed in the future version. Use Android.Media.MediaCodecInfoState enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API