MediaCodec.Callback.OnOutputBufferAvailable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when an output buffer becomes available.
[Android.Runtime.Register("onOutputBufferAvailable", "(Landroid/media/MediaCodec;ILandroid/media/MediaCodec$BufferInfo;)V", "GetOnOutputBufferAvailable_Landroid_media_MediaCodec_ILandroid_media_MediaCodec_BufferInfo_Handler")]
public abstract void OnOutputBufferAvailable(Android.Media.MediaCodec codec, int index, Android.Media.MediaCodec.BufferInfo info);
[<Android.Runtime.Register("onOutputBufferAvailable", "(Landroid/media/MediaCodec;ILandroid/media/MediaCodec$BufferInfo;)V", "GetOnOutputBufferAvailable_Landroid_media_MediaCodec_ILandroid_media_MediaCodec_BufferInfo_Handler")>]
abstract member OnOutputBufferAvailable : Android.Media.MediaCodec * int * Android.Media.MediaCodec.BufferInfo -> unit
Parameters
- codec
- MediaCodec
The MediaCodec object. This value cannot be null.
- index
- Int32
The index of the available output buffer.
Info regarding the available output buffer MediaCodec.BufferInfo. This value cannot be null.
- Attributes
Remarks
Called when an output buffer becomes available.
Android reference for android.media.MediaCodec.Callback.onOutputBufferAvailable.
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.