1 /*
2 * Copyright (C) 2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 #include "taihe_bluetooth_ble_central_manager_callback.h"
17 #include "bluetooth_log.h"
18
19 namespace OHOS {
20 namespace Bluetooth {
21
TaiheBluetoothBleCentralManagerCallback(bool isLatestNapiBleScannerObj)22 TaiheBluetoothBleCentralManagerCallback::TaiheBluetoothBleCentralManagerCallback(bool isLatestNapiBleScannerObj)
23 {
24 isLatestNapiBleScannerObj_ = isLatestNapiBleScannerObj;
25 }
26
GetInstance(void)27 TaiheBluetoothBleCentralManagerCallback &TaiheBluetoothBleCentralManagerCallback::GetInstance(void)
28 {
29 static TaiheBluetoothBleCentralManagerCallback instance(false);
30 return instance;
31 }
32
OnScanCallback(const BleScanResult & result)33 void TaiheBluetoothBleCentralManagerCallback::OnScanCallback(const BleScanResult &result)
34 {
35 }
36
OnFoundOrLostCallback(const BleScanResult & result,uint8_t callbackType)37 void TaiheBluetoothBleCentralManagerCallback::OnFoundOrLostCallback(const BleScanResult &result, uint8_t callbackType)
38 {
39 }
40
OnBleBatchScanResultsEvent(const std::vector<BleScanResult> & results)41 void TaiheBluetoothBleCentralManagerCallback::OnBleBatchScanResultsEvent(const std::vector<BleScanResult> &results)
42 {
43 }
44
OnStartOrStopScanEvent(int resultCode,bool isStartScan)45 void TaiheBluetoothBleCentralManagerCallback::OnStartOrStopScanEvent(int resultCode, bool isStartScan)
46 {
47 }
48
ConvertScanReportType(ScanReportType & scanReportType,uint8_t callbackType)49 void TaiheBluetoothBleCentralManagerCallback::ConvertScanReportType(
50 ScanReportType &scanReportType, uint8_t callbackType)
51 {
52 }
53 } // namespace Bluetooth
54 } // namespace OHOS