/ocr/ocrservice/src/com/googlecode/eyesfree/ocr/client/IOcr.aidl
http://eyes-free.googlecode.com/ · Android Interface Definition Language · 42 lines · 16 code · 4 blank · 22 comment · 0 complexity · 0eef9f67069415e7c8db3082684d09d4 MD5 · raw file
- /*
- * Copyright (C) 2010 Google Inc.
- *
- * 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.
- */
- /**
- * AIDL for the OCR Service
- * IOcr.java is autogenerated from this
- *
- * @author alanv@google.com (Alan Viverette)
- */
-
- package com.googlecode.eyesfree.ocr.client;
- import com.googlecode.eyesfree.ocr.client.IOcrCallback;
- import com.googlecode.eyesfree.ocr.client.Ocr;
- import com.googlecode.eyesfree.ocr.client.Language;
- // Declare the interface.
- interface IOcr {
- void setCallback(in IOcrCallback callback);
- long enqueueData(in byte[] jpegData, in Ocr.Parameters params);
- long enqueueFile(in String filename, in Ocr.Parameters params);
- boolean cancel(in long taskId);
- boolean stop();
- boolean reloadLanguages();
- List<Language> getAvailableLanguages();
- String getTessdata();
- String getDatapath();
- int getVersion();
- }