HERE Android SDK Developer's Guide

InitStatus

The enumeration InitStatus is a member of com.here.android.mpa.venues3d.VenueService.

Enumeration Summary

public static final enumeration VenueService.InitStatus

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

Represents values that describe the initialization status of the VenueService.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in InitStatus
Fields

public static final InitStatus ONLINE_SUCCESS

The VenueService successfully authenticate on the server and initialized data.

public static final InitStatus OFFLINE_SUCCESS

The VenueService failed to authenticate on the server, but successfully initialized previously cached data.

public static final InitStatus AUTH_FAILED

The VenueService failed to authenticate on the server and there is no previously cached data.

public static final InitStatus INIT_STYLES_FAILED

The VenueService failed to initialize styles.

public static final InitStatus INIT_ICONS_FAILED

The VenueService failed to initialize icons.

public static final InitStatus INIT_INDEX_FAILED

The VenueService failed to initialize index file.

public static final InitStatus ONLINE_FAILED

The VenueService failed to authenticate on the server.

public static final InitStatus NOT_STARTED

The initialization wasn't started.

public static final InitStatus IN_PROGRESS

The initialization in progress.

public static final InitStatus LOCKED

The VenueService is locked with the method stopAndClearCache(VenueService.VenueServiceClearCacheListener).

Method Summary

Table 2. Methods in InitStatus
Methods

public static InitStatus valueOf (String name)

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

public static VenueService.InitStatus[] values ()

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

Enumeration Details

Represents values that describe the initialization status of the VenueService.

Enum Constant Details

public static final InitStatus ONLINE_SUCCESS

The VenueService successfully authenticate on the server and initialized data.

public static final InitStatus OFFLINE_SUCCESS

The VenueService failed to authenticate on the server, but successfully initialized previously cached data.

public static final InitStatus AUTH_FAILED

The VenueService failed to authenticate on the server and there is no previously cached data.

public static final InitStatus INIT_STYLES_FAILED

The VenueService failed to initialize styles.

public static final InitStatus INIT_ICONS_FAILED

The VenueService failed to initialize icons.

public static final InitStatus INIT_INDEX_FAILED

The VenueService failed to initialize index file.

public static final InitStatus ONLINE_FAILED

The VenueService failed to authenticate on the server. If OFFLINE_SUCCESS has been previously received, the previously cached data is in use. Otherwise VenueService failed to initialise.

public static final InitStatus NOT_STARTED

The initialization wasn't started.

public static final InitStatus IN_PROGRESS

The initialization in progress.

public static final InitStatus LOCKED

The VenueService is locked with the method stopAndClearCache(VenueService.VenueServiceClearCacheListener). VenueService can't be started until status will be changed to NOT_STARTED.

Method Details

public static InitStatus 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 VenueService.InitStatus[] values ()

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