tryApplyProperties
fun tryApplyProperties(context: Context, propertiesFile: String): AirshipConfigOptions.Builder(source)
Same as applyProperties, but throws an exception instead of logging an error.
Return
The config option builder.
Parameters
context
The application context.
propertiesFile
The properties file path, relative to the assets directory.
Throws
fun tryApplyProperties(context: Context, properties: Properties): AirshipConfigOptions.Builder(source)
The same as applyProperties, but throws an exception instead of logging an error.
Return
The config option builder.
Parameters
context
The application context.
properties
The properties