HERE Android SDK Developer's Guide

Value

The enumeration Value is a member of com.here.android.mpa.nlp.Intention.

Enumeration Summary

public static final enumeration Intention.Value

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

values for Intention.Field

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Value
Fields

public static final Value NONE

Explicit no value

public static final Value HERE

Value for VENDOR

public static final Value MAP

Map domain

public static final Value ENGLISH

English Language

public static final Value GERMAN

German Language

public static final Value FRENCH

French Language

public static final Value ORIGIN

Current geo location

public static final Value IT_OR_THERE

It or there

public static final Value EVENT_TRAFFIC

Traffic event for TYPE for REPORT_GEO_EVENT intent.

public static final Value EVENT_HEALTH

Health event for TYPE for REPORT_GEO_EVENT intent.

public static final Value EVENT_CRIME

Crime event for TYPE for REPORT_GEO_EVENT intent.

public static final Value FASTEST

Fastest route type.

public static final Value SHORTEST

Shortest route type.

public static final Value OPTIMAL

Optimal route type.

public static final Value NORMAL

Normal talk speed.

public static final Value ON

Constant for on.

public static final Value OFF

Constant for off.

public static final Value TRUE

Constant for true.

public static final Value FALSE

Constant for false.

public static final Value MORE

Increase the value for volume, talk speed, or zoom.

public static final Value LESS

Decrease the value for volume, talk speed, or zoom.

public static final Value MAXIMUM

Maximum value

public static final Value MINIMUM

Minimum value

public static final Value ABBREVIATED_KILOMETER

Measurement value indicating kilometer or metric measurement system.

public static final Value KILOMETER

Measurement value indicating kilometer or metric measurement system.

public static final Value ABBREVIATED_METER

Measurement value for meter or metric measurement system.

public static final Value METER

Measurement value for meter or metric measurement system.

public static final Value FEET

Measurement value for feet or imperial measurement system.

public static final Value YARD

Measurement value for yard or imperial measurement system.

public static final Value MILE

Measurement value for mile or imperial measurement system.

public static final Value MINUTES

Time measurement value

public static final Value HOURS

Time measurement value

public static final Value DAYS

Time measurement value

public static final Value BUS

Transportation type

public static final Value CAR

Transportation type

public static final Value WALK

Transportation type

public static final Value TAXI

Transportation type

public static final Value FERRY

Transportation type

public static final Value FLIGHT

Transportation type

public static final Value TRAIN

Transportation type

public static final Value TRANSIT

Transportation type

public static final Value TRANSPORT

Transportation type

public static final Value FACEBOOK

Publish destinations for SEND_LOCATION intent.

public static final Value TWITTER

Publish destinations for SEND_LOCATION intent.

public static final Value HOME

Home

public static final Value WORK

Work

public static final Value PLACE_OBJ

A place

public static final Value ROUTE_OBJ

A route

public static final Value ALTINATIVE_ROUTE_OBJ

An alternative route to the same destination

public static final Value COLLECTION_OBJ

A collection

public static final Value STOPOVER_OBJ

A stopover

public static final Value DESTINATION_OBJ

A destination

public static final Value NEXT_MANEUVER_OBJ

The next maneuver

public static final Value PHONE_OBJ

A phone number

public static final Value ALL_OBJ

All objects

public static final Value MYSELF

Used to indicate the owner.

public static final Value AM

AM time suffix

public static final Value PM

PM time suffix

public static final Value FINE

Subcategorization for search, e.g.

public static final Value MID

Subcategorization for search, e.g.

public static final Value CHEAP

Subcategorization for search, e.g.

public static final Value GOOD

Rating for a place

public static final Value BAD

Rating for a place

public static final Value POPULAR

Rating for a place

Method Summary

Table 2. Methods in Value
Methods

public static Value get (String name)

Retrieve enum value from the given string.

public String getName ()

Retrieve string value for the enum, e.g.

public static Value valueOf (String name)

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

public static Intention.Value[] values ()

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

Enumeration Details

values for Intention.Field

Enum Constant Details

public static final Value NONE

Explicit no value

public static final Value HERE

Value for VENDOR

public static final Value MAP

Map domain

public static final Value ENGLISH

English Language

public static final Value GERMAN

German Language

public static final Value FRENCH

French Language

public static final Value ORIGIN

Current geo location

public static final Value IT_OR_THERE

It or there

public static final Value EVENT_TRAFFIC

Traffic event for TYPE for REPORT_GEO_EVENT intent.

public static final Value EVENT_HEALTH

Health event for TYPE for REPORT_GEO_EVENT intent.

public static final Value EVENT_CRIME

Crime event for TYPE for REPORT_GEO_EVENT intent.

public static final Value FASTEST

Fastest route type.

public static final Value SHORTEST

Shortest route type.

public static final Value OPTIMAL

Optimal route type.

public static final Value NORMAL

Normal talk speed.

public static final Value ON

Constant for on.

public static final Value OFF

Constant for off.

public static final Value TRUE

Constant for true.

public static final Value FALSE

Constant for false.

public static final Value MORE

Increase the value for volume, talk speed, or zoom.

public static final Value LESS

Decrease the value for volume, talk speed, or zoom.

public static final Value MAXIMUM

Maximum value

public static final Value MINIMUM

Minimum value

public static final Value ABBREVIATED_KILOMETER

Measurement value indicating kilometer or metric measurement system.

public static final Value KILOMETER

Measurement value indicating kilometer or metric measurement system.

public static final Value ABBREVIATED_METER

Measurement value for meter or metric measurement system.

public static final Value METER

Measurement value for meter or metric measurement system.

public static final Value FEET

Measurement value for feet or imperial measurement system.

public static final Value YARD

Measurement value for yard or imperial measurement system.

public static final Value MILE

Measurement value for mile or imperial measurement system.

public static final Value MINUTES

Time measurement value

public static final Value HOURS

Time measurement value

public static final Value DAYS

Time measurement value

public static final Value BUS

Transportation type

public static final Value CAR

Transportation type

public static final Value WALK

Transportation type

public static final Value TAXI

Transportation type

public static final Value FERRY

Transportation type

public static final Value FLIGHT

Transportation type

public static final Value TRAIN

Transportation type

public static final Value TRANSIT

Transportation type

public static final Value TRANSPORT

Transportation type

public static final Value FACEBOOK

Publish destinations for SEND_LOCATION intent.

public static final Value TWITTER

Publish destinations for SEND_LOCATION intent.

public static final Value HOME

Home

public static final Value WORK

Work

public static final Value PLACE_OBJ

A place

public static final Value ROUTE_OBJ

A route

public static final Value ALTINATIVE_ROUTE_OBJ

An alternative route to the same destination

public static final Value COLLECTION_OBJ

A collection

public static final Value STOPOVER_OBJ

A stopover

public static final Value DESTINATION_OBJ

A destination

public static final Value NEXT_MANEUVER_OBJ

The next maneuver

public static final Value PHONE_OBJ

A phone number

public static final Value ALL_OBJ

All objects

public static final Value MYSELF

Used to indicate the owner. Test: send my location to "me"

public static final Value AM

AM time suffix

public static final Value PM

PM time suffix

public static final Value FINE

Subcategorization for search, e.g. fine dinning.

public static final Value MID

Subcategorization for search, e.g. mid priced restaurant

public static final Value CHEAP

Subcategorization for search, e.g. cheap restaurant

public static final Value GOOD

Rating for a place

public static final Value BAD

Rating for a place

Rating for a place

Method Details

public static Value get (String name)

Retrieve enum value from the given string. e.g. Value.get("eng"); returns Value.ENGLISH .

Parameters:

  • name

    string to be matched

Returns:

null if there is no enum with the specified name

public String getName ()

Retrieve string value for the enum, e.g. Value.ENGLISH.getName(); returns "eng" .

Returns:

String value for the enum

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

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