FlutterBluePlugin.h 574 B

12345678910111213141516171819
  1. // Copyright 2017, Paul DeMarco.
  2. // All rights reserved. Use of this source code is governed by a
  3. // BSD-style license that can be found in the LICENSE file.
  4. #if TARGET_OS_OSX
  5. #import <FlutterMacOS/FlutterMacOS.h>
  6. #else
  7. #import <Flutter/Flutter.h>
  8. #endif
  9. #import <CoreBluetooth/CoreBluetooth.h>
  10. #define NAMESPACE @"plugins.pauldemarco.com/flutter_blue"
  11. @interface FlutterBluePlugin : NSObject<FlutterPlugin, CBCentralManagerDelegate, CBPeripheralDelegate>
  12. @end
  13. @interface FlutterBlueStreamHandler : NSObject<FlutterStreamHandler>
  14. @property FlutterEventSink sink;
  15. @end