Partager via


MediaParser.SetParameter(String, Object) Method

Definition

Sets parser-specific parameters which allow customizing behavior.

[Android.Runtime.Register("setParameter", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/media/MediaParser;", "", ApiSince=30)]
public Android.Media.MediaParser SetParameter (string parameterName, Java.Lang.Object value);
[<Android.Runtime.Register("setParameter", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/media/MediaParser;", "", ApiSince=30)>]
member this.SetParameter : string * Java.Lang.Object -> Android.Media.MediaParser

Parameters

parameterName
String

The name of the parameter to set. See PARAMETER_* constants for documentation on possible values.

value
Object

The value to set for the given parameterName. See PARAMETER_* constants for documentation on the expected types.

Returns

This instance, for convenience.

Attributes

Remarks

Java documentation for android.media.MediaParser.setParameter(java.lang.String, java.lang.Object).

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