org.robokind.api.speechrec
Interface SpeechRecService

All Known Implementing Classes:
RemoteSpeechRecServiceClient

public interface SpeechRecService

Author:
Matthew Stevenson

Field Summary
static String PROP_ID
          Property name for the ImageService Id.
 
Method Summary
 void addSpeechRecListener(org.jflux.api.core.Listener<SpeechRecEventList> listener)
          Adds a Listener to be notified when an image is received.
 String getSpeechRecServiceId()
          Returns the ImageService Id.
 void removeSpeechRecListener(org.jflux.api.core.Listener<SpeechRecEventList> listener)
          Removes a Listener from being notified when an image is received.
 void start()
          Starts the ImageService.
 void stop()
          Stops the ImageService.
 

Field Detail

PROP_ID

static final String PROP_ID
Property name for the ImageService Id.

See Also:
Constant Field Values
Method Detail

getSpeechRecServiceId

String getSpeechRecServiceId()
Returns the ImageService Id.

Returns:
ImageService Id

start

void start()
Starts the ImageService.


stop

void stop()
Stops the ImageService.


addSpeechRecListener

void addSpeechRecListener(org.jflux.api.core.Listener<SpeechRecEventList> listener)
Adds a Listener to be notified when an image is received.

Parameters:
listener - the Listener to be notified

removeSpeechRecListener

void removeSpeechRecListener(org.jflux.api.core.Listener<SpeechRecEventList> listener)
Removes a Listener from being notified when an image is received.

Parameters:
listener - the Listener to remove


Copyright © 2011-2013. All Rights Reserved.