HERE Android SDK Developer's Guide

PlaybackError

The enumeration PlaybackError is a member of com.here.android.mpa.common.PositionSimulator.

Enumeration Summary

public static final enumeration PositionSimulator.PlaybackError

extends java.lang.Enum, java.lang.Object

Playback Errors

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in PlaybackError
Fields

public static final PlaybackError NONE

There is no error.

public static final PlaybackError NO_MOCK_LOCATION_PERMISSION

The application needs the Android OPSTR_MOCK_LOCATION developer permission in order to replay position log files.

public static final PlaybackError LOCATION_MANAGER

Unexpected error from Android LocationManager.

public static final PlaybackError FILE_NOT_FOUND

Position log file was not found.

public static final PlaybackError FILE_PARSING

Error parsing the position log file.

public static final PlaybackError LOCATION_DATA_SOURCE_INVALID

PositioningManager has not yet been started or the current LocationDataSource does not not support log file playback (currently only SDK default data sources are supported).

public static final PlaybackError NO_LOCATION_PERMISSION

The application is missing the ACCESS_FINE_LOCATION android permission.

Method Summary

Table 2. Methods in PlaybackError
Methods

public static PlaybackError valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static PositionSimulator.PlaybackError[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Playback Errors

Enum Constant Details

public static final PlaybackError NONE

There is no error. Position playback has started.

public static final PlaybackError NO_MOCK_LOCATION_PERMISSION

The application needs the Android OPSTR_MOCK_LOCATION developer permission in order to replay position log files.

public static final PlaybackError LOCATION_MANAGER

Unexpected error from Android LocationManager.

public static final PlaybackError FILE_NOT_FOUND

Position log file was not found.

public static final PlaybackError FILE_PARSING

Error parsing the position log file. This error will be returned if the file is not of a supported format (currently only GPX is supported).

public static final PlaybackError LOCATION_DATA_SOURCE_INVALID

PositioningManager has not yet been started or the current LocationDataSource does not not support log file playback (currently only SDK default data sources are supported).

public static final PlaybackError NO_LOCATION_PERMISSION

The application is missing the ACCESS_FINE_LOCATION android permission.

Method Details

public static PlaybackError valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static PositionSimulator.PlaybackError[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.