Instancesbool getBooleanPreference (key:
string)
Retrieve the value of the application preference key as boolean.
Parameter | Type | Description |
key | string | The preference key. |
Int32 getIntegerPreference (key:
string)
Retrieve the value of the application preference key as integer.
Parameter | Type | Description |
key | string | The preference key. |
number getRealPreference (key:
string)
Retrieve the value of the application preference key as real number.
Parameter | Type | Description |
key | string | The preference key. |
string getStringPreference (key:
string)
Retrieve the value of the application preference key as string type.
Parameter | Type | Description |
key | string | The preference key. |
void removePreference (key:
string)
Delete the application preference key.
Parameter | Type | Description |
key | string | The preference key. |
void setBooleanPreference (key:
string, value:
bool)
Set the value of the application preference key as boolean.
Parameter | Type | Description |
key | string | The preference key. |
value | bool | The boolean value of the preference key. |
void setIntegerPreference (key:
string, value:
Int32)
Set the value of the application preference key as integer.
Parameter | Type | Description |
key | string | The preference key. |
value | Int32 | The boolean value of the preference key. |
void setRealPreference (key:
string, value:
number)
Set the value of the application preference key as real number.
Parameter | Type | Description |
key | string | The preference key. |
value | number | The real value of the preference key. |
void setStringPreference (key:
string, value:
string)
Set the value of the application preference key as string type.
Parameter | Type | Description |
key | string | The preference key. |
value | string | The string value of the preference key. |
|