IORAConfigSetting Interface Reference
Public Member Functions |
|
boolean | isValid (final String value) |
String | getDefault (final Context context) |
String | keyName () |
String | keyDescription () |
Detailed Description
This is central configuration class for entire SDK. All settings should be inherited from this interface.
Member Function Documentation
◆ getDefault()
String getDefault ( final Context context ) |
This is the default value if no value set. Here context needed to access system resource.
- Parameters
-
context context
- Returns
- the default value for the config.
◆ isValid()
boolean isValid ( final String value ) |
this will validate the config value.
- Parameters
-
value value for the key.
- Returns
-
true
if validation fails.false
◆ keyDescription()
String keyDescription ( ) |
Human readable representation of the key.
- Returns
- the description of the key.
◆ keyName()
String keyName ( ) |
String representation of the config key.
- Returns
- the string representation of the config.
- IORAConfigSetting.java