HERE Android SDK Developer's Guide

DeselectionSource

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

Enumeration Summary

public final enumeration DeselectionSource

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

This enumeration defines identifiers for values indicating how a venue was deselected.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in DeselectionSource
Fields

public static final DeselectionSource MOVE_OUT

Indicates that the map was moved away from the venue.

public static final DeselectionSource ZOOM_OUT

Indicates that the map was zoomed out to a zoom level at which the venue is not visible or not fully visible in the view port.

public static final DeselectionSource MAP_TAPPED

Indicates that the map was tapped outside the venue.

public static final DeselectionSource LAYER_SWITCHED_OFF

Indicates that the VenueMapLayer was switched off.

public static final DeselectionSource SELECT_OTHER_VENUE

Indicates that another venue was selected.

public static final DeselectionSource MANUALLY

Indicates that a Venue was deselected manually through the API.

Method Summary

Table 2. Methods in DeselectionSource
Methods

public static DeselectionSource valueOf (String name)

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

public static DeselectionSource[] values ()

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

Enumeration Details

This enumeration defines identifiers for values indicating how a venue was deselected.

Enum Constant Details

public static final DeselectionSource MOVE_OUT

Indicates that the map was moved away from the venue.

public static final DeselectionSource ZOOM_OUT

Indicates that the map was zoomed out to a zoom level at which the venue is not visible or not fully visible in the view port.

public static final DeselectionSource MAP_TAPPED

Indicates that the map was tapped outside the venue.

public static final DeselectionSource LAYER_SWITCHED_OFF

Indicates that the VenueMapLayer was switched off.

public static final DeselectionSource SELECT_OTHER_VENUE

Indicates that another venue was selected.

public static final DeselectionSource MANUALLY

Indicates that a Venue was deselected manually through the API.

Method Details

public static DeselectionSource 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 DeselectionSource[] values ()

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