次の方法で共有


Parcel.SetDataPosition(Int32) Method

Definition

Move the current read/write position in the parcel.

[Android.Runtime.Register("setDataPosition", "(I)V", "")]
public void SetDataPosition (int pos);
[<Android.Runtime.Register("setDataPosition", "(I)V", "")>]
member this.SetDataPosition : int -> unit

Parameters

pos
Int32

New offset in the parcel; must be between 0 and #dataSize.

Attributes

Remarks

Move the current read/write position in the parcel.

Java documentation for android.os.Parcel.setDataPosition(int).

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