What events are available with the SDK?

This SDK will send to you the following callbacks.

departed()
Invoked when the user has just departed.

departureCanceled()
Invoked when the last departure event could not be validated (e.g. trip duration or distance too short).

transportationMode()
Invoked when predict.io detects a transportation mode (car vs. non-car).

searchingInPerimeter()
Invoked when the user is searching for a parking space at a specific location.

arrivalSuspected()
Invoked when predict.io suspects that the user has just arrived.

arrived()
Invoked when the user has just arrived at the destination.

beingStationaryAfterArrival()
Monitors the activity of user after 3.5 mins of the arrival event.

traveledByAirplane()
Invoked when predict.io detects that the user has traveled by airplane.

To know more about the methods invoked in each callback please check out our GitHub documentation.

For an overview on typical flows & timings for the SDK's callbacks, please check here.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.