From d6d9a09d505d11148599a95a5be3e1351edbe0ac Mon Sep 17 00:00:00 2001 From: hc Date: Mon, 13 Apr 2026 15:17:52 +0800 Subject: Local iHealth SDK, device detail screen, iOS event fixes --- .../Communication_SDK/Headers/BG1Controller.h | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BG1Controller.h') 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 @@ +// +// BG1Controller.h +// iHealthBG +// +// Created by xujianbo on 14-10-08. +// Copyright (c) 2014年 andon. All rights reserved. +// + +#import +@class BG1; + +/** + BG1Controller + */ +@interface BG1Controller : NSObject + + +/** + * Initialization for BG1Controller Instance. + */ ++(BG1Controller *)shareBG1Controller; + +/** + * Initialization for BG1 (connected BG via sound jack) + * 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. + */ +-(void)initBGAudioModule; + +/** + * Get current BG1 Instance + * The methold needs to be called when the BG1 has been triggered. + */ +-(BG1 *)getCurrentBG1Instance; + + +/** + * Stop audio module for BG1 (connected BG via sound jack) + * Call this method When the app need stop BG1 communication. + After call this method ,the app should set BG1 Disconnected status. + */ +-(void)stopBGAudioModule; + + + + +@end -- cgit