HERE Android SDK Developer's Guide

OnIntentListener

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

Interface Summary

public static abstract interface Nlp.OnIntentListener

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

Intention is ready event listener interface.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnIntentListener
Methods

public abstract Reply onIntent (Intention intention)

A callback indicating that Intention is ready

Interface Details

Intention is ready event listener interface.

Method Details

public abstract Reply onIntent (Intention intention)

A callback indicating that Intention is ready

Parameters:

  • intention

    Intention object, the result of the voice input deduction.

Returns:

Application should return PROCEED to instruct SDK to act on the Intention. Application should return CONSUMED to indicate that the Intention was consumed.