1/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.bluetooth;
18
19import android.bluetooth.le.AdvertiseSettings;
20import android.bluetooth.le.ScanResult;
21import android.bluetooth.BluetoothGattService;
22import android.os.ParcelUuid;
23import android.os.RemoteException;
24
25import java.util.List;
26
27/**
28 * Wrapper class for default implementation of IBluetoothGattCallback.
29 *
30 * @hide
31 */
32public class BluetoothGattCallbackWrapper extends IBluetoothGattCallback.Stub {
33
34    @Override
35    public void onClientRegistered(int status, int clientIf) throws RemoteException {
36    }
37
38    @Override
39    public void onClientConnectionState(int status, int clientIf, boolean connected, String address)
40            throws RemoteException {
41    }
42
43    @Override
44    public void onScanResult(ScanResult scanResult) throws RemoteException {
45    }
46
47    @Override
48    public void onBatchScanResults(List<ScanResult> batchResults) throws RemoteException {
49    }
50
51    @Override
52    public void onSearchComplete(String address, List<BluetoothGattService> services,
53            int status) throws RemoteException {
54    }
55
56    @Override
57    public void onCharacteristicRead(String address, int status, int handle, byte[] value)
58            throws RemoteException {
59    }
60
61    @Override
62    public void onCharacteristicWrite(String address, int status, int handle) throws RemoteException {
63    }
64
65    @Override
66    public void onExecuteWrite(String address, int status) throws RemoteException {
67    }
68
69    @Override
70    public void onDescriptorRead(String address, int status, int handle, byte[] value) throws RemoteException {
71    }
72
73    @Override
74    public void onDescriptorWrite(String address, int status, int handle) throws RemoteException {
75    }
76
77    @Override
78    public void onNotify(String address, int handle, byte[] value) throws RemoteException {
79    }
80
81    @Override
82    public void onReadRemoteRssi(String address, int rssi, int status) throws RemoteException {
83    }
84
85    @Override
86    public void onMultiAdvertiseCallback(int status, boolean isStart,
87            AdvertiseSettings advertiseSettings) throws RemoteException {
88    }
89
90    @Override
91    public void onConfigureMTU(String address, int mtu, int status) throws RemoteException {
92    }
93
94    @Override
95    public void onFoundOrLost(boolean onFound, ScanResult scanResult) throws RemoteException {
96    }
97
98    @Override
99    public void onScanManagerErrorCallback(int errorCode) throws RemoteException {
100    }
101}
102