SaveModel
tracker.SaveModel (Class)
Static Members
getSavedOrCreate(modelClass: Class<getSavedOrCreate.T>, key: String, ?args: Array<Dynamic>): getSavedOrCreate.T
Name | Type | Default |
---|---|---|
modelClass |
Class<getSavedOrCreate.T> | |
key |
String | |
args |
Array<Dynamic> | (optional) |
Returns |
---|
getSavedOrCreate.T |
Name | Type |
---|---|
key |
String |
Returns |
---|
Bool |
Load data from the given key.
Name | Type | Default |
---|---|---|
model |
Model | |
key |
String | |
muteWarnings |
Bool | false |
Returns |
---|
Bool |
autoSaveAsKey(model: Model, key: String, ?appendInterval: Float = 1.0, ?compactInterval: Float = 60.0): Void
Name | Type | Default |
---|---|---|
model |
Model | |
key |
String | |
appendInterval |
Float | 1.0 |
compactInterval |
Float | 60.0 |
Encode the given string str
and return the result.
Name | Type |
---|---|
str |
String |
Returns |
---|
String |
Decode the given encoded
string and return the result or null if it failed.
Name | Type |
---|---|
encoded |
String |
Returns |
---|
String |
Private Members
BACKUP_NUM_STEPS: Int
NUM_BACKUPS: Int