HERE Android SDK Developer's Guide

OnParameterListener

The interface OnParameterListener is a member of com.here.android.mpa.nlp.Nlp.

Interface Summary

public static abstract interface Nlp.OnParameterListener

   extends com.here.android.mpa.nlp.Nlp.ListenerBase

Parameter event listener interface

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnParameterListener
Methods

public abstract void onParameterChanged (Error error, Field parameter, Value value)

A callback with the parameter and its value set by the user.

Interface Details

Parameter event listener interface

Method Details

public abstract void onParameterChanged (Error error, Field parameter, Value value)

A callback with the parameter and its value set by the user. Supported values are as follow:

Parameters:

  • error

    NONE if user requested parameter is successfully set to the requested value; otherwise FAILED

  • parameter

    The parameter that has been changed if error is NONE; otherwise this represents the parameter user wants to change.

  • value

    The new value of the parameter if error is NONE; otherwise this represents the value user wants to change the parameter to.