public static class ModuleRatingCore.StarRatingPreferences extends java.lang.Object implements Storable
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
appVersion |
boolean |
automaticHasBeenShown |
boolean |
automaticRatingShouldBeShown |
java.lang.String |
dialogTextDismiss |
java.lang.String |
dialogTextMessage |
java.lang.String |
dialogTextTitle |
boolean |
disabledAutomaticForNewVersions |
boolean |
isDialogCancellable |
boolean |
isShownForCurrentVersion |
int |
sessionAmount |
int |
sessionLimit |
| Constructor and Description |
|---|
StarRatingPreferences() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJSON(org.json.JSONObject json)
Load the preference state from a JSONObject
|
boolean |
restore(byte[] data) |
java.lang.Long |
storageId() |
java.lang.String |
storagePrefix() |
byte[] |
store() |
org.json.JSONObject |
toJSON() |
public java.lang.String appVersion
public int sessionLimit
public int sessionAmount
public boolean isShownForCurrentVersion
public boolean automaticRatingShouldBeShown
public boolean disabledAutomaticForNewVersions
public boolean automaticHasBeenShown
public boolean isDialogCancellable
public java.lang.String dialogTextTitle
public java.lang.String dialogTextMessage
public java.lang.String dialogTextDismiss
public org.json.JSONObject toJSON()
public void fromJSON(org.json.JSONObject json)
json - object to parsepublic java.lang.String storagePrefix()
storagePrefix in interface Storable