Share via


Parcel.DataPosition Method

Definition

Returns the current position in the parcel data.

[Android.Runtime.Register("dataPosition", "()I", "")]
public int DataPosition ();
[<Android.Runtime.Register("dataPosition", "()I", "")>]
member this.DataPosition : unit -> int

Returns

Attributes

Remarks

Returns the current position in the parcel data. Never more than #dataSize.

Java documentation for android.os.Parcel.dataPosition().

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