HERE Android SDK Developer's Guide

FleetConnectivityJobStartedEvent

The class FleetConnectivityJobStartedEvent is a member of com.here.android.mpa.fce .

Class Summary

public class FleetConnectivityJobStartedEvent

extends com.here.android.mpa.fce.FleetConnectivityEvent, java.lang.Object

Represents event used to inform the operator that the incoming job was accepted.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in FleetConnectivityJobStartedEvent
Constructors

FleetConnectivityJobStartedEvent ()

Method Summary

Table 2. Methods in FleetConnectivityJobStartedEvent
Methods

protected boolean dispatch (FleetConnectivityService service)

Internal method.

public long getEtaThreshold ()

Estimated time of arrival change threshold, which will trigger the dispatch of ETA update event.

public void setEtaThreshold (long etaThreshold)

Estimated time of arrival change threshold, which will trigger the dispatch of ETA update event.

public void setJobId (String jobId)

Job ID to which this event relates.

Class Details

Represents event used to inform the operator that the incoming job was accepted.

Constructor Details

FleetConnectivityJobStartedEvent ()

Method Details

protected boolean dispatch (FleetConnectivityService service)

Internal method.

Parameters:

  • service

public long getEtaThreshold ()

Estimated time of arrival change threshold, which will trigger the dispatch of ETA update event. If not set or greater than 100, then default threshold of 10% will be used.

Returns:

ETA update threshold.

public void setEtaThreshold (long etaThreshold)

Estimated time of arrival change threshold, which will trigger the dispatch of ETA update event. If not set or greater than 100, then default threshold of 10% will be used.

Parameters:

  • etaThreshold

    ETA update threshold.

public void setJobId (String jobId)

Job ID to which this event relates. Should be set before sending out.

Parameters:

  • jobId

    Job ID to which this event relates.