Android 4.2 API (level 17) introduced several new classes, providing programatic support for different new features that were introduced. The UserHandle is a new class that basically represents a user on the device.
Full specifications for this class can be found on the official Android Developer website.
This class implements the good old Parcelable interface and exposes a new static method called writeToParcel that you can use to write a specific user (represented by UserHandle) to a Parcel object.
No comments:
Post a Comment