
org.robokind.api.speechrec.SpeechRecService Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2012 Hanson Robokind LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.robokind.api.speechrec;
import org.jflux.api.core.Listener;
/**
*
* @author Matthew Stevenson
*/
public interface SpeechRecService {
/**
* Property name for the ImageService Id.
*/
public final static String PROP_ID = "speechRecServiceId";
/**
* Returns the ImageService Id.
* @return ImageService Id
*/
public String getSpeechRecServiceId();
/**
* Starts the ImageService.
*/
public void start();
/**
* Stops the ImageService.
*/
public void stop();
/**
* Adds a Listener to be notified when an image is received.
* @param listener the Listener to be notified
*/
public void addSpeechRecListener(Listener listener);
/**
* Removes a Listener from being notified when an image is received.
* @param listener the Listener to remove
*/
public void removeSpeechRecListener(Listener listener);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy