UserHandleCompat

public class UserHandleCompat
extends Object

java.lang.Object
   ↳ androidx.core.os.UserHandleCompat


Helper for accessing features in UserHandle in a backwards compatible fashion.

Summary

Public methods

static UserHandle getUserHandleForUid(int uid)

Returns the user handle for a given uid.

Inherited methods

Public methods

getUserHandleForUid

public static UserHandle getUserHandleForUid (int uid)

Returns the user handle for a given uid.

Parameters
uid int

Returns
UserHandle