HERE Android SDK Developer's Guide

Listener

The interface Listener is a member of com.here.android.mpa.fce.FleetConnectivityService.

Interface Summary

public static abstract interface FleetConnectivityService.Listener

Represents a listener to handle FleetConnectivityService incoming messages.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in Listener
Methods

public abstract void onEventAcknowledged (FleetConnectivityEvent event, FleetConnectivityError error)

Called when server acknowledges dispatched event.

public abstract void onMessageReceived (FleetConnectivityMessage message)

Called when incoming message arrives.

Interface Details

Represents a listener to handle FleetConnectivityService incoming messages.

Methods of this listener are called on the main thread.

Method Details

public abstract void onEventAcknowledged (FleetConnectivityEvent event, FleetConnectivityError error)

Called when server acknowledges dispatched event.

Parameters:

public abstract void onMessageReceived (FleetConnectivityMessage message)

Called when incoming message arrives.

Parameters: