setDestination

open fun setDestination(bundle: Bundle?, callback: <Error class: unknown class>?): Bundle

Send a location to the nav app to perform guidance

Return

bundle synchronous response to the request, can signify success, failure, or pending Key: SET_DESTINATION_RESULT Values: -1 - result pending (result will be delivered the supplied callback) 0 - completed successfully 1 - replacing existing destination 2 - failure

Parameters

bundle

data associated with new destination request

callback

asynchronous response handler to the request if required, can be null