tryApplyProperties
open fun tryApplyProperties(@NonNull context: Context, @NonNull propertiesFile: String): AirshipConfigOptions.Builder
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
open fun tryApplyProperties(@NonNull context: Context, @NonNull properties: Properties): AirshipConfigOptions.Builder
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