The key to a Custom File Property key-value pair that can be serialized in a
Parcel
.
Constant Summary
int | PRIVATE | The custom property is private to this app. |
int | PUBLIC | The custom property is shared with all apps. |
Inherited Constant Summary
Field Summary
public static finalCreator<CustomPropertyKey> | CREATOR |
Public Constructor Summary
Public Method Summary
boolean | |
staticCustomPropertyKey |
fromJson(JSONObject
jsonObject)
|
String |
getKey()
|
int | |
int |
hashCode()
|
JSONObject |
toJson()
|
String |
toString()
|
void |
writeToParcel(Parceldest, int
flags)
|
Inherited Method Summary
Constants
public static final int PRIVATE
The custom property is private to this app.
Constant Value:1
public static final int PUBLIC
The custom property is shared with all apps.
Constant Value:0
Fields
public static finalCreator<CustomPropertyKey> CREATOR
Public Constructors
publicCustomPropertyKey(Stringkey, int visibility)
Constructs aCustomPropertyKey
object.
Public Methods
public booleanequals(Objectobj)
public staticCustomPropertyKey fromJson(JSONObject jsonObject)
Throws
JSONException |
---|
publicStringgetKey()
public intgetVisibility()
public inthashCode()
publicJSONObject toJson()
Throws
JSONException |
---|