1f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray/*
2f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * Copyright (C) 2015, The Android Open Source Project
3f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray *
4f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * Licensed under the Apache License, Version 2.0 (the "License");
5f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * you may not use this file except in compliance with the License.
6f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * You may obtain a copy of the License at
7f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray *
8f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray *     http://www.apache.org/licenses/LICENSE-2.0
9f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray *
10f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * Unless required by applicable law or agreed to in writing, software
11f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * distributed under the License is distributed on an "AS IS" BASIS,
12f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * See the License for the specific language governing permissions and
14f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * limitations under the License.
15f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray */
16f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray
17f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray/**
18f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * Binder IPC callback interface for receiving notifications about the
19f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray * high-level Bluetooth adapter state.
20f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray */
21f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Ugurayinterface IBluetoothCallback {
22f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray  /**
23f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray   * Called when the adapter state changes from |prev_state| to |new_state|.
24f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray   */
25f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray  void onBluetoothStateChange(in int prev_state, in int new_state);
26f6fc0c48c2b4c8a9965f0f86275896da386ebdb2Arman Uguray}
27