Build 1.0_r1(from source)

android.speech.recognition
Interface DeviceSpeakerListener


public interface DeviceSpeakerListener

Listens for DeviceSpeaker events.


Method Summary
 void onError(Exception e)
          Invoked when an unexpected error occurs.
 void onStarted()
          Invoked after playback begins.
 void onStopped()
          Invoked after playback terminates.
 

Method Detail

onStarted

void onStarted()
Invoked after playback begins.


onStopped

void onStopped()
Invoked after playback terminates.


onError

void onError(Exception e)
Invoked when an unexpected error occurs. This is normally followed by onStopped() if the component shuts down successfully.

Parameters:
e - the cause of the failure

Build 1.0_r1(from source)

Please submit a feedback, bug or feature