session-ios/Signal/src/view controllers/ScanIdentityBarcodeViewController.h
Christine Corbett 6b4f339d7e Identity Key QR verification
• this plumbs in the QR verification for iOS, both scanning contact and having your fingerprint scanned.

Reviewed-by: @FredericJacobs
2015-01-04 11:30:25 +01:00

23 lines
792 B
Objective-C

//
// ScanIdentityBarcodeViewController.h
// Signal-iOS
//
// Created by Christine Corbett Moran on 3/29/14.
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@interface ScanIdentityBarcodeViewController : UIViewController<AVCaptureMetadataOutputObjectsDelegate>
@property(nonatomic,strong) AVCaptureSession *session;
@property(nonatomic,strong) AVCaptureDevice *device;
@property(nonatomic,strong) AVCaptureDeviceInput *input;
@property(nonatomic,strong) AVCaptureMetadataOutput *output;
@property(nonatomic,strong) AVCaptureVideoPreviewLayer *prevLayer;
@property(nonatomic,strong) UIView *highlightView;
@property(nonatomic,strong) UILabel *label;
@property(nonatomic,strong) NSData *identityKey;
@end