109a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler/**
209a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * Copyright (c) 2013, The Android Open Source Project
309a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler *
409a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * Licensed under the Apache License, Version 2.0 (the "License");
509a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * you may not use this file except in compliance with the License.
609a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * You may obtain a copy of the License at
709a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler *
809a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler *     http://www.apache.org/licenses/LICENSE-2.0
909a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler *
1009a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * Unless required by applicable law or agreed to in writing, software
1109a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * distributed under the License is distributed on an "AS IS" BASIS,
1209a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1309a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * See the License for the specific language governing permissions and
1409a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler * limitations under the License.
1509a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler */
1609a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler
175feceebb892d4cb5777cea3c6174b206705d456bDaniel Sandlerpackage android.service.notification;
1809a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler
1984a00ea9e3df3ff051d3e86945d2befea32072eeGriff Hazenimport android.service.notification.IStatusBarNotificationHolder;
205feceebb892d4cb5777cea3c6174b206705d456bDaniel Sandlerimport android.service.notification.StatusBarNotification;
2105ad48206a082057e17723d32493c153faa6881eChristoph Studerimport android.service.notification.NotificationRankingUpdate;
2209a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler
2309a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler/** @hide */
2409a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandleroneway interface INotificationListener
2509a247e9a86df068422cbe8b60430fb6583c028cDaniel Sandler{
2605ad48206a082057e17723d32493c153faa6881eChristoph Studer    void onListenerConnected(in NotificationRankingUpdate update);
2784a00ea9e3df3ff051d3e86945d2befea32072eeGriff Hazen    void onNotificationPosted(in IStatusBarNotificationHolder notificationHolder,
2805ad48206a082057e17723d32493c153faa6881eChristoph Studer            in NotificationRankingUpdate update);
2984a00ea9e3df3ff051d3e86945d2befea32072eeGriff Hazen    void onNotificationRemoved(in IStatusBarNotificationHolder notificationHolder,
3005ad48206a082057e17723d32493c153faa6881eChristoph Studer            in NotificationRankingUpdate update);
3105ad48206a082057e17723d32493c153faa6881eChristoph Studer    void onNotificationRankingUpdate(in NotificationRankingUpdate update);
32d8afe3c41e65a8f6ff4283c124ba250c92cf50c6John Spurlock    void onListenerHintsChanged(int hints);
3385a384b4256121eb85b7e72bcd50f3348f365d41Christoph Studer    void onInterruptionFilterChanged(int interruptionFilter);
3485a384b4256121eb85b7e72bcd50f3348f365d41Christoph Studer}
35