Aracılığıyla paylaş


UserHandle(Parcel) Constructor

Definition

Instantiate a new UserHandle from the data in a Parcel that was previously written with #writeToParcel(Parcel, int).

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public UserHandle (Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.OS.UserHandle : Android.OS.Parcel -> Android.OS.UserHandle

Parameters

in
Parcel

The Parcel containing the previously written UserHandle, positioned at the location in the buffer where it was written.

Attributes

Remarks

Instantiate a new UserHandle from the data in a Parcel that was previously written with #writeToParcel(Parcel, int). Note that you must not use this with data written by #writeToParcel(UserHandle, Parcel) since it is not possible to handle a null UserHandle here.

Java documentation for android.os.UserHandle.UserHandle(android.os.Parcel).

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