HERE Android SDK Developer's Guide

FleetConnectivityEvent

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

Class Summary

public abstract class FleetConnectivityEvent

extends java.lang.Object

Abstract class common for all outgoing events.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in FleetConnectivityEvent
Constructors

FleetConnectivityEvent ()

Field Summary

Table 2. Fields in FleetConnectivityEvent
Fields

protected String m_jobId

Method Summary

Table 3. Methods in FleetConnectivityEvent
Methods

protected abstract boolean dispatch (FleetConnectivityService service)

public Map getContent ()

public String getJobId ()

public void setContent (Map content)

Generic map of strings.

Class Details

Abstract class common for all outgoing events. It can be used to inform the operator about specific event, for example job start, or job cancellation etc. The event can be sent out by using @{link sendEvent(FleetConnectivityEvent) method. The event is sent out asynchronously. To check the result of the dispatch, a listener should be set in FleetConnectivityService.

Constructor Details

FleetConnectivityEvent ()

Field Details

protected String m_jobId

Method Details

protected abstract boolean dispatch (FleetConnectivityService service)

Parameters:

  • service

public Map getContent ()

Returns:

Generic map of strings. Can be used for any purpose.

public String getJobId ()

Returns:

Job ID to which this event relates.

public void setContent (Map content)

Generic map of strings. Can be used for any purpose.

Parameters:

  • content

    Generic map of strings.

Throws:

  • IllegalArgumentException

    if the content is null.