You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819
  1. //
  2. // PrintImageBleWriteDelegate.h
  3. // RNBluetoothEscposPrinter
  4. //
  5. // Created by januslo on 2018/10/8.
  6. // Copyright © 2018年 Facebook. All rights reserved.
  7. //
  8. #import <React/RCTBridgeModule.h>
  9. #import "RNBluetoothManager.h"
  10. #import "RNBluetoothEscposPrinter.h"
  11. @interface PrintImageBleWriteDelegate :NSObject<WriteDataToBleDelegate>
  12. @property NSData *toPrint;
  13. @property NSInteger width;
  14. @property NSInteger now;
  15. @property RNBluetoothManager *printer;
  16. @property RCTPromiseRejectBlock pendingReject;
  17. @property RCTPromiseResolveBlock pendingResolve;
  18. -(void) print;
  19. @end