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 name of the properties file in 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