Android Guides | Samples

Android.OS.Parcel.SetDataPosition Method

Move the current read/write position in the parcel.

Syntax

[Android.Runtime.Register("setDataPosition", "(I)V", "")]
public Void SetDataPosition (Int32 pos)

Parameters

pos
New offset in the parcel; must be between 0 and Parcel.DataSize.

Remarks

Move the current read/write position in the parcel.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1