Activity Transition
class ActivityTransition
Class to detect if a device is entering/exiting a vehicle, or stopping moving. This is used to adjust the contents of call outs and when they are made.
Functions
Link copied to clipboard
onActivityTransitionEvent is where ActivityTransitionEvent percolate up to after they have been received by the ActivityTransitionReceiver.
Link copied to clipboard
fun startVehicleActivityTracking(context: Context, onSuccess: () -> Unit = { }, onFailure: (String) -> Unit = { })
Link copied to clipboard