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

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

package js.web.webspeech;

import js.lang.Any;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;


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

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

    @JSProperty
    double getConfidence();

    @JSProperty
    String getTranscript();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy