UserHandle

public final class UserHandle
extendsObjectimplementsParcelable

java.lang.Object
android.os.UserHandle

added in API level 17.


在设备上表示一个用户.

属性


CREATOR

added in API level 17.

Creator<UserHandle> CREATOR

Public constructors


UserHandle

added in API level 17.

UserHandle (Parcel in)

用先前使用writeToParcel(Parcel, int)写入Parcel的数据来实例化一个新的UserHandle. Note that you must not use this with data written bywriteToParcel(UserHandle, Parcel)since it is not possible to handle a null UserHandle here.


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

公共方法


describeContents

added in API level 17.

int describeContents ()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output ofwriteToParcel(Parcel, int), the return value of this method must include theCONTENTS_FILE_DESCRIPTORbit.

results matching ""

    No results matching ""