SearchDeviceViewController.h 559 B

12345678910111213141516171819202122232425262728
  1. //
  2. // SearchDeviceViewController.h
  3. // Unity-iPhone
  4. //
  5. // Created by leon on 2021/2/4.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "MYFactoryManager.h"
  9. @interface SearchDeviceViewController : UIViewController
  10. @property (strong, nonatomic)NSMutableArray * deviceArray; /**< 蓝牙设备个数 */
  11. @property (strong,nonatomic)CBPeripheral * currentPeripheral;
  12. @property (copy,nonatomic)void(^connectDeviceBlock)(CBPeripheral * peripheral);
  13. //
  14. @property (copy,nonatomic)void(^closeBlock)();
  15. //
  16. -(void)reloadData;
  17. -(void)getInteraction:(int)interaction;
  18. @end