4 #import "keychain/ot/proto/generated_source/OTAccountMetadataClassC.h"
6 NS_ASSUME_NONNULL_BEGIN
8 @interface
OTAccountMetadataClassC (KeychainSupport
)
10 - (BOOL
)saveToKeychainForContainer
:(NSString
*)containerName contextID
:(NSString
*)contextID error
:(NSError
**)error
;
12 + (BOOL
) deleteFromKeychainForContainer
:(NSString
*)containerName
13 contextID
:(NSString
*)contextID error
:(NSError
**)error
__attribute__((swift_error(nonnull_error
)));
15 + (OTAccountMetadataClassC
* _Nullable
)loadFromKeychainForContainer
:(NSString
*)containerName contextID
:(NSString
*)contextID error
:(NSError
**)error
;
18 @
class TPSyncingPolicy
;
19 @interface
OTAccountMetadataClassC (NSSecureCodingSupport
)
20 - (void)setTPSyncingPolicy
:(TPSyncingPolicy
* _Nullable
)policy
;
21 - (TPSyncingPolicy
* _Nullable
)getTPSyncingPolicy
;