pEpObjCAdapterFramework/PEPSessionProtocol.h
branchIOSAD-160
changeset 1372 ac119be204d2
parent 1371 3fa5bcebb17b
child 1387 b0e0c5afc224
     1.1 --- a/pEpObjCAdapterFramework/PEPSessionProtocol.h	Tue Dec 03 14:07:27 2019 +0100
     1.2 +++ b/pEpObjCAdapterFramework/PEPSessionProtocol.h	Tue Dec 03 14:07:27 2019 +0100
     1.3 @@ -85,7 +85,19 @@
     1.4                                        shortened:(BOOL)shortened
     1.5                                            error:(NSError * _Nullable * _Nullable)error;
     1.6  
     1.7 -/// Marks an identity as an own identity.
     1.8 +/// Marks an identity as an own identity, not changing its participation in pEp sync.
     1.9 +///
    1.10 +/// @return Returns YES on success, NO on error, setting `*error` accordingly if possible.
    1.11 +///
    1.12 +/// @note See the engine's myself function for details.
    1.13 +///
    1.14 +/// @param identity The identity to mark as own.
    1.15 +///
    1.16 +/// @param error Standard cocoa error handling.
    1.17 +- (BOOL)mySelf:(PEPIdentity * _Nonnull)identity
    1.18 +         error:(NSError * _Nullable * _Nullable)error;
    1.19 +
    1.20 +/// Marks an identity as an own identity, and decides about participation in pEp sync.
    1.21  ///
    1.22  /// @return Returns YES on success, NO on error, setting `*error` accordingly if possible.
    1.23  ///