UserHandleCompat

Added in 1.6.0

class UserHandleCompat


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

Summary

Public functions

java-static UserHandle

Returns the user handle for a given uid.

Public functions

getUserHandleForUid

Added in 1.6.0
java-static fun getUserHandleForUid(uid: Int): UserHandle

Returns the user handle for a given uid.