BTDataSend.h 601 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // BTDataSend.h
  3. // Unity-iPhone
  4. //
  5. // Created by duowan123 on 2021/12/21.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "MYFactoryManager.h"
  9. #define BTDataSendInstance [BTDataSend sharedInstance]
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface BTDataSend : NSObject
  12. +(instancetype)sharedInstance;
  13. //查询设备信息
  14. - (void)queryDevideInfo;
  15. //打开游戏模式
  16. - (void)startGameModel;
  17. //设置震动
  18. - (void)vibration:(DEVICE_TYPE)deviceType duration:(int)duration leftOrRight:(int)leftOrRight;
  19. //开启/关闭 激光模式
  20. - (void)laser:(int)state;
  21. -(void)keepConnect;
  22. @end
  23. NS_ASSUME_NONNULL_END