2 // KCAccountKCCircleDelegate.h
6 #import <KeychainCircle/KCJoiningSession.h>
8 @interface KCJoiningRequestAccountCircleDelegate
: NSObject
< KCJoiningRequestCircleDelegate
>
10 Get this devices peer info (As Application)
13 SOSPeerInfoRef object or NULL if we had an error.
15 - (SOSPeerInfoRef
) copyPeerInfoError
: (NSError
**) error
;
18 Handle recipt of confirmed circleJoinData over the channel
20 @parameter circleJoinData
21 Data the acceptor made to allow us to join the circle.
24 - (bool) processCircleJoinData
: (NSData
*) circleJoinData error
: (NSError
**)error
;
26 + (instancetype
) delegate
;
30 @interface KCJoiningAcceptAccountCircleDelegate
: NSObject
< KCJoiningAcceptCircleDelegate
>
32 Handle the request's peer info and get the blob they can use to get in circle
34 SOSPeerInfo sent from requestor to apply to the circle
36 Error resulting in looking at peer and trying to produce circle join data
38 Data containing blob the requestor can use to get in circle
40 - (NSData
*) circleJoinDataFor
: (SOSPeerInfoRef
) peer
41 error
: (NSError
**) error
;
43 + (instancetype
) delegate
;