次の方法で共有


Parcel.WriteFloat(Single) Method

Definition

Write a floating point value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

[Android.Runtime.Register("writeFloat", "(F)V", "")]
public void WriteFloat (float val);
[<Android.Runtime.Register("writeFloat", "(F)V", "")>]
member this.WriteFloat : single -> unit

Parameters

val
Single
Attributes

Remarks

Write a floating point value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

Java documentation for android.os.Parcel.writeFloat(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