com.paragon.open.dictionary.api
Interface Morphology.BaseFormsListener

Enclosing class:
Morphology

public static interface Morphology.BaseFormsListener

Callback interface for base forms requests.


Method Summary
 void onComplete(Morphology.BaseForm[] baseForms)
          Called when a base forms request completes.
 void onError(Error error)
          Called when an Open Dictionary API Service responds to the request with an error.
 void onIPCError(java.lang.String details)
          Called when an error occurs while communicating with the Open Dictionary API Service.
 void onWordNotFound()
          Called when the specifed word is not found.
 

Method Detail

onComplete

void onComplete(Morphology.BaseForm[] baseForms)
Called when a base forms request completes.

Parameters:
baseForms - array of the base forms

onWordNotFound

void onWordNotFound()
Called when the specifed word is not found.


onError

void onError(Error error)
Called when an Open Dictionary API Service responds to the request with an error.

Parameters:
error - any error

onIPCError

void onIPCError(java.lang.String details)
Called when an error occurs while communicating with the Open Dictionary API Service.

Parameters:
details - detailed message