IntentControlledTripPlanner

A trip can be planned from current location to given destination through ADB using:

adb shell am broadcast -a Navigation.PlanTrip
--ef destinationLat 52.376598 --ef destinationLon 4.908001

To plan a trip from simulated location to given destination through ADB using:

adb shell am broadcast -a Navigation.PlanTrip --ef departureLat 51.442497
--ef departureLon 5.479879 --ef destinationLat 52.376598 --ef destinationLon 4.908001

It is not possible to provide double data using ADB, therefore in the implementation float values are used. Ref: https://developer.android.com/studio/command-line/adb#IntentSpec

Constructors

Link copied to clipboard
fun IntentControlledTripPlanner(application: IviApplication, lifecycleOwner: LifecycleOwner)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun onReceive(context: Context, intent: Intent)

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun peekService(p0: Context, p1: Intent): IBinder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setResult(p0: Int, p1: String, p2: Bundle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard