MediaCodec.QueueRequest.SetFloatParameter(String, Single) Method

Definition

Add a float parameter.

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

Parameters

key
String
value
Single

Returns

this object. This value cannot be null.

Attributes

Remarks

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

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