]> git.saurik.com Git - apple/security.git/blob - keychain/otpaird/OTPairingService.h
Security-59306.41.2.tar.gz
[apple/security.git] / keychain / otpaird / OTPairingService.h
1 #import <IDS/IDS.h>
2 #import "OTPairingConstants.h"
3
4 typedef void (^OTPairingCompletionHandler)(bool success, NSError *error);
5
6 @interface OTPairingService : NSObject <IDSServiceDelegate>
7
8 @property (readonly) NSString *pairedDeviceNotificationName;
9
10 + (instancetype)sharedService;
11
12 #if TARGET_OS_WATCH
13 - (void)initiatePairingWithCompletion:(OTPairingCompletionHandler)completionHandler;
14 #endif /* TARGET_OS_WATCH */
15
16 @end