// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionAudioEndListener.java
// public interface SpeechRecognitionAudioEndListener {
// public void onAudioEnd();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionAudioStartListener.java
// public interface SpeechRecognitionAudioStartListener {
// public void onAudioStart();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionEndListener.java
// public interface SpeechRecognitionEndListener {
// public void onEnd();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionResultListener.java
// public interface SpeechRecognitionResultListener {
// public void onResult(SpeechRecognitionEvent event);
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionSoundEndListener.java
// public interface SpeechRecognitionSoundEndListener {
// public void onSoundEnd();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionSpeechStartListener.java
// public interface SpeechRecognitionSpeechStartListener {
// public void onSpeechStart();
// }


import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionAudioEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionAudioStartListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionErrorListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionNomatchListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionResultListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSoundEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSoundStartListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSpeechEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSpeechStartListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionStartListener;
import com.google.gwt.core.client.JavaScriptObject;

	

	public  final native String getLang()/*-{
    return this.lang;
  	}-*/; 
	
	public  final native void setMaxAlternatives(int maxAlternatives)/*-{
    this.maxAlternatives=maxAlternatives;
  	}-*/; 
	
	
	public  final native void start()/*-{
    this.start();
  	}-*/; 
	
	public  final native void abort()/*-{
    this.abort();
  	}-*/; 
	
	public  final native void stop()/*-{
    this.stop();
  	}-*/; 
	

	public final native void setOnResult(SpeechRecognitionResultListener listener)/*-{
    this.onresult=function (event) {
	listener.@com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionResultListener::onResult(Lcom/akjava/gwt/html5/client/speechrecognition/SpeechRecognitionEvent;)(event);
	};
  	}-*/;
	

// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionAudioEndListener.java
// public interface SpeechRecognitionAudioEndListener {
// public void onAudioEnd();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionAudioStartListener.java
// public interface SpeechRecognitionAudioStartListener {
// public void onAudioStart();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionEndListener.java
// public interface SpeechRecognitionEndListener {
// public void onEnd();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionResultListener.java
// public interface SpeechRecognitionResultListener {
// public void onResult(SpeechRecognitionEvent event);
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionSoundEndListener.java
// public interface SpeechRecognitionSoundEndListener {
// public void onSoundEnd();
// }
// 
// Path: src/com/akjava/gwt/html5/client/speechrecognition/listeners/SpeechRecognitionSpeechStartListener.java
// public interface SpeechRecognitionSpeechStartListener {
// public void onSpeechStart();
// }


// Path: src/com/akjava/gwt/html5/client/speechrecognition/SpeechRecognition.java
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionAudioEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionAudioStartListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionErrorListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionNomatchListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionResultListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSoundEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSoundStartListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSpeechEndListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionSpeechStartListener;
import com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionStartListener;
import com.google.gwt.core.client.JavaScriptObject;

	

	public  final native String getLang()/*-{
    return this.lang;
  	}-*/; 
	
	public  final native void setMaxAlternatives(int maxAlternatives)/*-{
    this.maxAlternatives=maxAlternatives;
  	}-*/; 
	
	
	public  final native void start()/*-{
    this.start();
  	}-*/; 
	
	public  final native void abort()/*-{
    this.abort();
  	}-*/; 
	
	public  final native void stop()/*-{
    this.stop();
  	}-*/; 
	

	public final native void setOnResult(SpeechRecognitionResultListener listener)/*-{
    this.onresult=function (event) {
	listener.@com.akjava.gwt.html5.client.speechrecognition.listeners.SpeechRecognitionResultListener::onResult(Lcom/akjava/gwt/html5/client/speechrecognition/SpeechRecognitionEvent;)(event);
	};
  	}-*/;
	

	public final native void setOnError(SpeechRecognitionErrorListener listener)/*-{
