다음을 통해 공유


UserHandle.ReadFromParcel(Parcel) Method

Definition

Read a UserHandle from a Parcel that was previously written with #writeToParcel(UserHandle, Parcel), returning either a null or new object as appropriate.

[Android.Runtime.Register("readFromParcel", "(Landroid/os/Parcel;)Landroid/os/UserHandle;", "")]
public static Android.OS.UserHandle? ReadFromParcel (Android.OS.Parcel? in);
[<Android.Runtime.Register("readFromParcel", "(Landroid/os/Parcel;)Landroid/os/UserHandle;", "")>]
static member ReadFromParcel : Android.OS.Parcel -> Android.OS.UserHandle

Parameters

in
Parcel

The Parcel from which to read the UserHandle

Returns

Returns a new UserHandle matching the previously written object, or null if a null had been written.

Attributes

Remarks

Read a UserHandle from a Parcel that was previously written with #writeToParcel(UserHandle, Parcel), returning either a null or new object as appropriate.

Java documentation for android.os.UserHandle.readFromParcel(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

See also

  • <xref:Android.OS.UserHandle.WriteToParcel(Android.OS.UserHandle%2c+Android.OS.Parcel)>