MapTrip Interface Android Reference Manual 9.10.1
Loading...
Searching...
No Matches
de.infoware.android.mti.FollowMeRouteListener Interface Reference

Public Member Functions

void followMeStartAtResult (int requestId, ApiError returnCode)
 
void getFollowMeEventsResult (int requestId, int numberOfResults, ApiError returnCode)
 
void getFollowMeEventAtResult (int requestId, int iEventCode, double latitude, double longitude, double metersToDestination, String eventText, ApiError returnCode)
 
void startFollowGpsPathResult (int requestId, ApiError returnCode)
 
void startFollowMeSimulationResult (int requestId, ApiError returnCode)
 
void setStopModeResult (int requestId, ApiError returnCode)
 
void pauseFollowGpsPathResult (int requestId, ApiError returnCode)
 
void continueFollowGpsPathResult (int requestId, ApiError returnCode)
 
void stopFollowGpsPathResult (int requestId, ApiError returnCode)
 
void isFollowMeRoutePausedResult (int requestId, boolean isPaused, ApiError returnCode)
 
void getFollowMeRouteFileResult (int requestId, String routeFile, ApiError returnCode)
 
void addFollowMeEventToRecordResult (int requestId, ApiError returnCode)
 
void routeRecordingStopped (String nmeaFile)
 
void routeRecordingStarted ()
 
void onFollowMeEvent (int eventType, String eventValue)
 
void onFollowMeStateChanged (FmrState newState)
 
void getFollowMeRoutesResult (int requestId, int numberOfResults, ApiError returnCode)
 
void getFollowMeRouteAtResult (int requestId, int potId, String potName, String fileName, ApiError returnCode)
 

Member Function Documentation

◆ addFollowMeEventToRecordResult()

void de.infoware.android.mti.FollowMeRouteListener.addFollowMeEventToRecordResult ( int  requestId,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.addFollowMeEventToRecord() call.

Parameters
requestId- unique identifier returned by the initiating request
isPaused- true if a paused follow me route is available
returnCode- of type MTI_ERROR

◆ continueFollowGpsPathResult()

void de.infoware.android.mti.FollowMeRouteListener.continueFollowGpsPathResult ( int  requestId,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.continueFollowGpsPath() call.

Parameters
requestId- unique identifier returned by the initiating request, MTI_REQUEST_NO_REQUEST_ID if not initiated by an MTI request (via GUI)
returnCode- of type MTI_ERROR

◆ followMeStartAtResult()

void de.infoware.android.mti.FollowMeRouteListener.followMeStartAtResult ( int  requestId,
ApiError  returnCode 
)

Result_callback

Called after processing an FollowMeRoute.followMeStartAt() call.

Parameters
requestId- unique identifier returned by the initiating request
returnCode- of type MTI_ERROR

◆ getFollowMeEventAtResult()

void de.infoware.android.mti.FollowMeRouteListener.getFollowMeEventAtResult ( int  requestId,
int  iEventCode,
double  latitude,
double  longitude,
double  metersToDestination,
String  eventText,
ApiError  returnCode 
)

Result_callback

Called after processing an FollowMeRoute.getFollowMeEvents() call.

Parameters
requestId- unique identifier returned by the initiating request
iEventCode- code of the event
latitude- Position in WGS
longitude- Position in WGS
metersToDestination- Meters to the end of the entire route
eventText- event specific text
returnCode- of type MTI_ERROR

◆ getFollowMeEventsResult()

void de.infoware.android.mti.FollowMeRouteListener.getFollowMeEventsResult ( int  requestId,
int  numberOfResults,
ApiError  returnCode 
)

Result_callback

Called after processing an FollowMeRoute.getFollowMeEvents() call.

Parameters
requestId- unique identifier returned by the initiating request
numberOfResults- number of events
returnCode- of type MTI_ERROR

◆ getFollowMeRouteAtResult()

void de.infoware.android.mti.FollowMeRouteListener.getFollowMeRouteAtResult ( int  requestId,
int  potId,
String  potName,
String  fileName,
ApiError  returnCode 
)

Called after processing a FollowMeRoute.getFollowMeRouteAt() call. Use this to call FollowMeRoute.startFollowGpsPath() with a relative filepath. mti_fmr_startFollowGpsPath(potID + "/" + fileName)

Parameters
requestId- unique identifier returned by the initiating request
potId- Identifier of the Pot.
potName- Name of the Pot. Can be used for displaying purposes.
fileName- Name of the file.
returnCode- of type MTI_ERROR

◆ getFollowMeRouteFileResult()

void de.infoware.android.mti.FollowMeRouteListener.getFollowMeRouteFileResult ( int  requestId,
String  routeFile,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.getFollowMeRouteFile() call.

Parameters
requestId- unique identifier returned by the initiating request
isPaused- true if a paused follow me route is available
returnCode- of type MTI_ERROR

◆ getFollowMeRoutesResult()

void de.infoware.android.mti.FollowMeRouteListener.getFollowMeRoutesResult ( int  requestId,
int  numberOfResults,
ApiError  returnCode 
)

Called after processing a FollowMeRoute.getFollowMeRoutes() call.

Parameters
requestId- unique identifier returned by the initiating request
numberOfResults- number of locally available routes That were published to this device. Can be 0 if there are no pots or files.
returnCode- of type MTI_ERROR

◆ isFollowMeRoutePausedResult()

void de.infoware.android.mti.FollowMeRouteListener.isFollowMeRoutePausedResult ( int  requestId,
boolean  isPaused,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.isFollowMeRoutePaused() call.

Parameters
requestId- unique identifier returned by the initiating request
isPaused- true if a paused follow me route is available
returnCode- of type MTI_ERROR

◆ onFollowMeEvent()

void de.infoware.android.mti.FollowMeRouteListener.onFollowMeEvent ( int  eventType,
String  eventValue 
)

Called for every event that is passeg while running a follow me tour

◆ onFollowMeStateChanged()

void de.infoware.android.mti.FollowMeRouteListener.onFollowMeStateChanged ( FmrState  newState)

Called for every event that is passeg while running a follow me tour

◆ pauseFollowGpsPathResult()

void de.infoware.android.mti.FollowMeRouteListener.pauseFollowGpsPathResult ( int  requestId,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.pauseFollowGpsPath() call.

Parameters
requestId- unique identifier returned by the initiating request, MTI_REQUEST_NO_REQUEST_ID if not initiated by an MTI request (via GUI)
returnCode- of type MTI_ERROR

◆ routeRecordingStarted()

void de.infoware.android.mti.FollowMeRouteListener.routeRecordingStarted ( )

Called after a FollowMe Route recording has been started.

◆ routeRecordingStopped()

void de.infoware.android.mti.FollowMeRouteListener.routeRecordingStopped ( String  nmeaFile)

Called after a FollowMe Route has been recorded.

Parameters
nmeaFile- The NMEA file that has been recorded

◆ setStopModeResult()

void de.infoware.android.mti.FollowMeRouteListener.setStopModeResult ( int  requestId,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.setStopMode() call.

Parameters
requestId- unique identifier returned by the initiating request
returnCode- of type MTI_ERROR

◆ startFollowGpsPathResult()

void de.infoware.android.mti.FollowMeRouteListener.startFollowGpsPathResult ( int  requestId,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.startFollowGpsPath() call.

Parameters
requestId- unique identifier returned by the initiating request
returnCode- of type MTI_ERROR

◆ startFollowMeSimulationResult()

void de.infoware.android.mti.FollowMeRouteListener.startFollowMeSimulationResult ( int  requestId,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.startFollowMeSimulation() call.

Parameters
requestId- unique identifier returned by the initiating request
returnCode- of type MTI_ERROR

◆ stopFollowGpsPathResult()

void de.infoware.android.mti.FollowMeRouteListener.stopFollowGpsPathResult ( int  requestId,
ApiError  returnCode 
)

Called after processing an FollowMeRoute.stopFollowGpsPath() call.

Parameters
requestId- unique identifier returned by the initiating request MTI_REQUEST_NO_REQUEST_ID if not initiated by an MTI request (via GUI)
returnCode- of type MTI_ERROR