Language

MediaCodec.QueueRequest.SetLongParameter(String, Int64) Method

Definition

Add a long parameter.

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

Parameters

key
String

The name of a long-integer tuning parameter to send with this request's input.

value
Int64

The 64-bit integer to add to the request's tuning values.

Returns

this object. This value cannot be null.

Attributes

Remarks

Add a long parameter. See MediaFormat for the supported long-integer keys, which can also be set with SetLong(String, Int64). 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.setLongParameter.

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