DBCONTACTSUserAuthRoutes
Objective-C
@interface DBCONTACTSUserAuthRoutes : NSObject
Swift
class DBCONTACTSUserAuthRoutes : NSObject
Routes for the Contacts
namespace
-
An instance of the networking client that each route will use to submit a request.
Declaration
Objective-C
@property (nonatomic, readonly) id<DBTransportClient> _Nonnull client;
-
Initializes the
DBCONTACTSUserAuthRoutes
namespace container object with a networking client.Declaration
Objective-C
- (nonnull instancetype)init:(nonnull id<DBTransportClient>)client;
-
Removes all manually added contacts. You’ll still keep contacts who are on your team or who you imported. New contacts will be added when you share.
Declaration
Objective-C
- (nonnull DBRpcTask<DBNilObject *, DBNilObject *> *)deleteManualContacts;
Swift
func deleteManualContacts() -> DBRpcTask<DBNilObject, DBNilObject>
Return Value
Through the response callback, the caller will receive a
void
object on success or avoid
object on failure. -
Removes manually added contacts from the given list.
Declaration
Objective-C
- (nonnull DBRpcTask<DBNilObject *, DBCONTACTSDeleteManualContactsError *> *) deleteManualContactsBatch:(nonnull NSArray<NSString *> *)emailAddresses;
Swift
func deleteManualContactsBatch(_ emailAddresses: [String]) -> DBRpcTask<DBNilObject, DBCONTACTSDeleteManualContactsError>
Parameters
emailAddresses
List of manually added contacts to be deleted.
Return Value
Through the response callback, the caller will receive a
void
object on success or aDBCONTACTSDeleteManualContactsError
object on failure.