DBACCOUNTUserAuthRoutes
Objective-C
@interface DBACCOUNTUserAuthRoutes : NSObject
                Swift
class DBACCOUNTUserAuthRoutes : NSObject
                Routes for the Account 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
DBACCOUNTUserAuthRoutesnamespace container object with a networking client.Declaration
Objective-C
- (nonnull instancetype)init:(nonnull id<DBTransportClient>)client; - 
                  
                  
Sets a user’s profile photo.
Declaration
Objective-C
- (nonnull DBRpcTask<DBACCOUNTSetProfilePhotoResult *, DBACCOUNTSetProfilePhotoError *> *)setProfilePhoto: (nonnull DBACCOUNTPhotoSourceArg *)photo;Swift
func setProfilePhoto(_ photo: DBACCOUNTPhotoSourceArg) -> DBRpcTask<DBACCOUNTSetProfilePhotoResult, DBACCOUNTSetProfilePhotoError>Parameters
photoImage to set as the user’s new profile photo.
Return Value
Through the response callback, the caller will receive a
DBACCOUNTSetProfilePhotoResultobject on success or aDBACCOUNTSetProfilePhotoErrorobject on failure. 
View on GitHub
        DBACCOUNTUserAuthRoutes Class Reference