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 addClient(IAccessibilityManagerClient client)37 int addClient(IAccessibilityManagerClient client); 38 sendAccessibilityEvent(in AccessibilityEvent uiEvent)39 boolean sendAccessibilityEvent(in AccessibilityEvent uiEvent); 40 getInstalledAccessibilityServiceList()41 List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(); 42 getEnabledAccessibilityServiceList(int feedbackType)43 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType); 44 interrupt()45 void interrupt(); 46 addAccessibilityInteractionConnection(IWindow windowToken, in IAccessibilityInteractionConnection connection)47 int addAccessibilityInteractionConnection(IWindow windowToken, 48 in IAccessibilityInteractionConnection connection); 49 removeAccessibilityInteractionConnection(IWindow windowToken)50 void removeAccessibilityInteractionConnection(IWindow windowToken); 51 registerEventListener(IEventListener client)52 IAccessibilityServiceConnection registerEventListener(IEventListener client); 53 } 54