Android Guides | Samples

Android.OS.UserHandle Class

Representation of a user on the device.

See Also: UserHandle

Syntax

[Android.Runtime.Register("android/os/UserHandle", DoNotGenerateAcw=true)]
public sealed class UserHandle : Object, IParcelable, IDisposable

Remarks

Representation of a user on the device.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17

The members of Android.OS.UserHandle are listed below.

See Also: Object

Public Constructors

Instantiate a new UserHandle from the data in a Parcel that was previously written with UserHandle.WriteToParcel(Parcel,ParcelableWriteFlags).

Public Properties

[read-only]
static
CreatorIParcelableCreator.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
static
ReadFromParcel(Parcel) : UserHandle
Read a UserHandle from a Parcel that was previously written with UserHandle.WriteToParcel(UserHandle,Parcel), returning either a null or new object as appropriate.
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.
static
WriteToParcel(UserHandle, Parcel)
Write a UserHandle to a Parcel, handling null pointers.