HERE Android SDK Developer's Guide

Listener

The interface Listener is a member of com.here.android.mpa.electronic_horizon.AdasisV2Engine.

Interface Summary

public static abstract interface AdasisV2Engine.Listener

[For complete information, see the section Interface Details]

Field Summary

Table 1. Fields in Listener
Fields

public static final int ADASIS_V2_MESSAGE_LENGTH

Constant length of each binary encoded ADASIS v2 message

Method Summary

Table 2. Methods in Listener
Methods

public abstract void onAdasisMessageReceived (byte[] bytes)

Called every time when new message is generated by ADASIS engine.

Interface Details

Field Details

public static final int ADASIS_V2_MESSAGE_LENGTH

Constant length of each binary encoded ADASIS v2 message

Method Details

public abstract void onAdasisMessageReceived (byte[] bytes)

Called every time when new message is generated by ADASIS engine.

Parameters:

  • bytes

    binary encoded ADASIS v2 message. It always not null and contain exactly ADASIS_V2_MESSAGE_LENGTH bytes

    Note: The slope information will not be received if the shared disk cache is used. Use isolated disk cache instead. To use isolated disk cache, check the documentation of function