Home | History | Annotate | Download | only in accessibility
      1 /* //device/java/android/android/app/INotificationManager.aidl
      2 **
      3 ** Copyright 2009, The Android Open Source Project
      4 **
      5 ** Licensed under the Apache License, Version 2.0 (the "License");
      6 ** you may not use this file except in compliance with the License.
      7 ** You may obtain a copy of the License at
      8 **
      9 **     http://www.apache.org/licenses/LICENSE-2.0
     10 **
     11 ** Unless required by applicable law or agreed to in writing, software
     12 ** distributed under the License is distributed on an "AS IS" BASIS,
     13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 ** See the License for the specific language governing permissions and
     15 ** limitations under the License.
     16 */
     17 
     18 package android.view.accessibility;
     19 
     20 import android.accessibilityservice.AccessibilityServiceInfo;
     21 import android.accessibilityservice.IAccessibilityServiceConnection;
     22 import android.accessibilityservice.IEventListener;
     23 import android.view.accessibility.AccessibilityEvent;
     24 import android.view.accessibility.AccessibilityNodeInfo;
     25 import android.view.accessibility.IAccessibilityInteractionConnection;
     26 import android.view.accessibility.IAccessibilityManagerClient;
     27 import android.view.IWindow;
     28 
     29 /**
     30  * Interface implemented by the AccessibilityManagerService called by
     31  * the AccessibilityMasngers.
     32  *
     33  * @hide
     34  */
     35 interface IAccessibilityManager {
     36 
     37     int addClient(IAccessibilityManagerClient client);
     38 
     39     boolean sendAccessibilityEvent(in AccessibilityEvent uiEvent);
     40 
     41     List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList();
     42 
     43     List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType);
     44 
     45     void interrupt();
     46 
     47     int addAccessibilityInteractionConnection(IWindow windowToken,
     48         in IAccessibilityInteractionConnection connection);
     49 
     50     void removeAccessibilityInteractionConnection(IWindow windowToken);
     51 
     52     void registerEventListener(IEventListener client);
     53 }
     54