Parcel.SetDataCapacity(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Change the capacity (current available space) of the parcel.
[Android.Runtime.Register("setDataCapacity", "(I)V", "")]
public void SetDataCapacity (int size);
[<Android.Runtime.Register("setDataCapacity", "(I)V", "")>]
member this.SetDataCapacity : int -> unit
Parameters
- size
- Int32
The new capacity of the parcel, in bytes. Can not be
less than #dataSize
-- that is, you can not drop existing data
with this method.
- Attributes
Remarks
Change the capacity (current available space) of the parcel.
Java documentation for android.os.Parcel.setDataCapacity(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.