MediaCodec.QueueRequest.SetFloatParameter(String, Single) 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 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
The name of a floating-point tuning parameter to send with this request's input.
- value
- Single
The single-precision value to add to the request's tuning values.
Returns
this object. This value cannot be null.
- Attributes
Remarks
Add a float parameter. See MediaFormat for the supported float keys, which can also be set with SetFloat(String, Single). If a call to SetParameters(Bundle) with the same key has not yet been processed, this value overrides 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.