Example usage for Java android.os UserHandle fields, constructors, methods, implement or subclass
The text is from its open source code.
int | USER_ALL |
UserHandle | ALL |
int | USER_CURRENT |
UserHandle | CURRENT |
int | USER_OWNER |
UserHandle | OWNER |
UserHandle | SYSTEM |
boolean | MU_ENABLED |
UserHandle(int h) | |
UserHandle(Parcel in) Instantiate a new UserHandle from the data in a Parcel that was previously written with #writeToParcel(Parcel,int) . |
int | getCallingUserId() |
int | getIdentifier() Returns the userId stored in this UserHandle. |
int | getUid(@UserIdInt int userId, @AppIdInt int appId) Returns the uid that is composed from the userId and the appId. |
int | getUserId(int uid) Returns the user id for a given uid. |
int | myUserId() Returns the user id of the current process |
UserHandle | of(@UserIdInt int userId) |
UserHandle | readFromParcel(Parcel in) Read a UserHandle from a Parcel that was previously written with #writeToParcel(UserHandle,Parcel) , returning either a null or new object as appropriate. |