MediaCodec.QueueRequest.SetByteBufferParameter(String, ByteBuffer) 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.
Add a ByteBuffer parameter.
[Android.Runtime.Register("setByteBufferParameter", "(Ljava/lang/String;Ljava/nio/ByteBuffer;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)]
public Android.Media.MediaCodec.QueueRequest SetByteBufferParameter(string key, Java.Nio.ByteBuffer value);
[<Android.Runtime.Register("setByteBufferParameter", "(Ljava/lang/String;Ljava/nio/ByteBuffer;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)>]
member this.SetByteBufferParameter : string * Java.Nio.ByteBuffer -> Android.Media.MediaCodec.QueueRequest
Parameters
- key
- String
- value
- ByteBuffer
Returns
this object. This value cannot be null.
- Attributes
Remarks
Add a ByteBuffer parameter. See MediaFormat for an exhaustive list of supported keys with values of byte buffer, that can also be set with MediaFormat.setByteBuffer. If there was MediaCodec.setParameters call with the same key which is not processed by the codec yet, the value set from this method will override the unprocessed value.
Android reference for android.media.MediaCodec.QueueRequest.setByteBufferParameter.
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.