MediaCodec.QueueRequest.SetStringParameter(String, String) Method

Definition

Add a string parameter.

[Android.Runtime.Register("setStringParameter", "(Ljava/lang/String;Ljava/lang/String;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)]
public Android.Media.MediaCodec.QueueRequest SetStringParameter(string key, string value);
[<Android.Runtime.Register("setStringParameter", "(Ljava/lang/String;Ljava/lang/String;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)>]
member this.SetStringParameter : string * string -> Android.Media.MediaCodec.QueueRequest

Parameters

key
String
value
String

Returns

this object. This value cannot be null.

Attributes

Remarks

Add a string parameter. See MediaFormat for an exhaustive list of supported keys with values of type string, that can also be set with MediaFormat.setString. 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.setStringParameter.

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