1 package android.accessibilityservice;
2 
3 import android.accessibilityservice.IBrailleDisplayConnection;
4 
5 /**
6  * Interface given to a BrailleDisplayConnection to talk to a BrailleDisplayController
7  * in an accessibility service.
8  *
9  * IPCs from system_server to apps must be oneway, so designate this entire interface as oneway.
10  * @hide
11  */
12 oneway interface IBrailleDisplayController {
onConnected(in IBrailleDisplayConnection connection, in byte[] hidDescriptor)13     void onConnected(in IBrailleDisplayConnection connection, in byte[] hidDescriptor);
onConnectionFailed(int error)14     void onConnectionFailed(int error);
onInput(in byte[] input)15     void onInput(in byte[] input);
onDisconnected()16     void onDisconnected();
17 }