FileDocCategorySizeDatePackage
ITranslatorService.javaAPI DocAndroid 5.1 API7353Sat Mar 14 04:10:30 GMT 2015com.googlecode.eyesfree.braille.translate

ITranslatorService

public interface ITranslatorService implements android.os.IInterface

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringbackTranslate(byte[] cells, java.lang.String tableName)
Translates braille cells into text according to the given table name. Returns null on fatal translation errors.

public booleancheckTable(java.lang.String tableName)
Makes sure that the given table string is valid and that the table compiles.

public voidsetCallback(com.googlecode.eyesfree.braille.translate.ITranslatorServiceCallback callback)
Sets a callback to be called when the service is ready to translate. Using any of the other methods in this interface before the callback is called with a successful status will return failure.

public byte[]translate(java.lang.String text, java.lang.String tableName)
Translates text into braille according to the give tableName. Returns null on fatal translation errors.