requestModels
Requests vehicle models synchronously based on the specified options.
Threading: This method should be invoked from a background thread as it involves time-consuming operations, such as network requests.
Return
A Result wrapping either a ModelsResponse on success or a VehicleMetadataFailure on failure.
Parameters
options
The options specifying the criteria for the models request.
abstract fun requestModels(options: ModelOptions, callback: Callback<ModelsResponse, VehicleMetadataFailure>): Cancellable
Requests vehicle models asynchronously based on the specified options.
Return
The Cancellable operation.
Parameters
options
The options specifying the criteria for the models request.
callback
The callback to be invoked with the result of the models request.