Język

MediaCodec.QueueRequest.SetIntegerParameter(String, Int32) Method

Definition

Add an integer parameter.

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

Parameters

key
String

The name of an integer tuning parameter to send with this request's input.

value
Int32

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

Returns

this object. This value cannot be null.

Attributes

Remarks

Add an integer parameter. See MediaFormat for an exhaustive list of supported keys with values of type int, that can also be set with MediaFormat.setInteger. 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.setIntegerParameter.

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