]> git.saurik.com Git - apple/security.git/blob - keychain/otpaird/OTPairingSession.h
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / otpaird / OTPairingSession.h
1 #import <Foundation/Foundation.h>
2 #import "OTPairingPacketContext.h"
3 #import "OTPairingService.h"
4
5 #import "keychain/ot/OTDeviceInformationAdapter.h"
6
7 @interface OTPairingSession : NSObject
8
9 @property (readonly) NSString *identifier;
10 @property (readwrite) OTPairingPacketContext *packet;
11 @property (readonly) KCPairingChannel *channel;
12 @property (readwrite) NSString *sentMessageIdentifier;
13
14 #if TARGET_OS_WATCH
15 @property OTPairingCompletionHandler completionHandler;
16 #endif /* TARGET_OS_WATCH */
17
18 #if !TARGET_OS_SIMULATOR
19 @property (readwrite) MKBAssertionRef lockAssertion;
20 #endif /* !TARGET_OS_SIMULATOR */
21
22 - (instancetype)initWithDeviceInfo:(OTDeviceInformationActualAdapter *)deviceInfo;
23 - (instancetype)initWithDeviceInfo:(OTDeviceInformationActualAdapter *)deviceInfo identifier:(NSString *)identifier;
24
25 @end