All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.web.webspeech.SpeechRecognitionError Maven / Gradle / Ivy

package js.web.webspeech;

import js.web.dom.Event;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;


public interface SpeechRecognitionError extends Event {
    @JSBody(script = "return SpeechRecognitionError.prototype")
    static SpeechRecognitionError prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new SpeechRecognitionError()")
    static SpeechRecognitionError create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSProperty
    SpeechRecognitionErrorCode getError();

    @JSProperty
    String getMessage();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy