Język

MediaFormat.SetFloat(String, Single) Method

Definition

Sets the value of a float key.

[Android.Runtime.Register("setFloat", "(Ljava/lang/String;F)V", "")]
public void SetFloat(string name, float value);
[<Android.Runtime.Register("setFloat", "(Ljava/lang/String;F)V", "")>]
member this.SetFloat : string * single -> unit

Parameters

name
String

The format entry key to associate with the value.

value
Single

The single-precision floating-point value to store.

Attributes

Remarks

Sets the value of a float key.

Java documentation for android.media.MediaFormat.setFloat(java.lang.String, float).

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