@Immutable @LevelUpApi(contract=ENTERPRISE) public final class Permission extends Object implements Parcelable
PermissionsRequest
.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<Permission> |
CREATOR
Implements the
Parcelable interface. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
Permission(String description,
String keyname) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getDescription()
A short, human-readable description of this permission.
|
String |
getKeyname()
The unique identifier for this type of permission.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<Permission> CREATOR
Parcelable
interface.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public String getDescription()
public String getKeyname()