Android Guides | Samples

Android.OS.Parcel.DataCapacity Method

Returns the total amount of space in the parcel.

Syntax

[Android.Runtime.Register("dataCapacity", "()I", "")]
public Int32 DataCapacity ()

Remarks

Returns the total amount of space in the parcel. This is always >= Parcel.DataSize. The difference between it and dataSize() is the amount of room left until the parcel needs to re-allocate its data buffer.

[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