summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h
diff options
context:
space:
mode:
authorhc <haocheng.xie@respiree.com>2026-04-13 15:17:52 +0800
committerhc <haocheng.xie@respiree.com>2026-04-13 15:17:52 +0800
commitd6d9a09d505d11148599a95a5be3e1351edbe0ac (patch)
treea5f5891983d1ff207e99f683a5e151519cef4980 /libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h
parente4fb9966e762852bf17f21c8406501d42fae0b61 (diff)
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h')
-rw-r--r--libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h
new file mode 100644
index 0000000..fe0860b
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h
@@ -0,0 +1,46 @@
1//
2// BG1Controller.h
3// iHealthBG
4//
5// Created by xujianbo on 14-10-08.
6// Copyright (c) 2014年 andon. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10@class BG1;
11
12/**
13 BG1Controller
14 */
15@interface BG1Controller : NSObject
16
17
18/**
19 * Initialization for BG1Controller Instance.
20 */
21+(BG1Controller *)shareBG1Controller;
22
23/**
24 * Initialization for BG1 (connected BG via sound jack)
25 * When the application detects a headphone device, it sends a notification named kNotificationNameAudioDeviceInsert. When you receive kNotificationNameAudioDeviceInsert notification, you need to adjust the system volume to its maximum. After the device is disconnected, you receive a notification with the name kNotificationNameBG1DidDisConnect.
26 */
27-(void)initBGAudioModule;
28
29/**
30 * Get current BG1 Instance
31 * The methold needs to be called when the BG1 has been triggered.
32 */
33-(BG1 *)getCurrentBG1Instance;
34
35
36/**
37 * Stop audio module for BG1 (connected BG via sound jack)
38 * Call this method When the app need stop BG1 communication.
39 After call this method ,the app should set BG1 Disconnected status.
40 */
41-(void)stopBGAudioModule;
42
43
44
45
46@end