Parcel.WriteSparseArray(SparseArray) Method
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.
Flatten a generic SparseArray into the parcel at the current dataPosition(), growing dataCapacity() if needed.
[Android.Runtime.Register("writeSparseArray", "(Landroid/util/SparseArray;)V", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public void WriteSparseArray (Android.Util.SparseArray? val);
[<Android.Runtime.Register("writeSparseArray", "(Landroid/util/SparseArray;)V", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.WriteSparseArray : Android.Util.SparseArray -> unit
- val
- SparseArray
- Attributes
Flatten a generic SparseArray into the parcel at the current dataPosition(), growing dataCapacity() if needed. The SparseArray values are written using #writeValue
and must follow the specification there.
Java documentation for android.os.Parcel.writeSparseArray(android.util.SparseArray<T>)
.
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.