org.robokind.api.speech
Interface SpeechRequest


public interface SpeechRequest

Defines a request for a SpeechService to speak a phrase.

Author:
Matthew Stevenson

Method Summary
 String getPhrase()
          Returns the phrase the SpeechService is being requested to speak.
 String getRequestSourceId()
          Returns the id String of the service making the request.
 String getSpeechServiceId()
          Returns the id String of request's intended SpeechService.
 long getTimestampMillisecUTC()
          Returns the timestamp of the request.
 

Method Detail

getSpeechServiceId

String getSpeechServiceId()
Returns the id String of request's intended SpeechService.

Returns:
id String of request's intended SpeechService

getRequestSourceId

String getRequestSourceId()
Returns the id String of the service making the request.

Returns:
id String of the service making the request

getTimestampMillisecUTC

long getTimestampMillisecUTC()
Returns the timestamp of the request.

Returns:
timestamp of the request

getPhrase

String getPhrase()
Returns the phrase the SpeechService is being requested to speak.

Returns:
phrase the SpeechService is being requested to speak


Copyright © 2011. All Rights Reserved.