#import "MicrOcr.h"

@implementation MicrOcr

- (void)startLiveCapture:(CDVInvokedUrlCommand*)command
{
    CDVPluginResult* result = [CDVPluginResult
                               resultWithStatus:CDVCommandStatus_OK
                               messageAsDictionary:
                               @{ @"auxiliary": @"123-aux",
                                  @"routing": @"123456789",
                                  @"account": @"1234567890",
                                  @"checkNumber": @"456",
                                  @"amount": "3.50"
                                }];

    [self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
}

- (void)stopLiveCapture:(CDVInvokedUrlCommand*)command
{
    CDVPluginResult* result = [CDVPluginResult
                               resultWithStatus:CDVCommandStatus_OK
                               messageAsString:@"Capture Stopped"];

    [self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
}

@end
