ripe / com.ripe.android.api / BrandAPI / getConfigAsync
getConfigAsync
open fun getConfigAsync(options: Map<String, Any> = HashMap()): Deferred<Map<String, Any>?>
Returns the configuration information of a specific brand and model. If no model is provided
then returns the information of the owner's current model.
The options map accepts the following keys:
- brand - the brand of the model
- model - the name of the model
- country - the country where the model will be provided, some materials/colors might not be available.
- flag - a specific flag that may change the provided materials/colors available.
- filter - if the configuration should be filtered by the country and/or flag.
true
by default.
Parameters
options
- A map with options.
Return
A Deferred that will be completed with the result.