DBACCOUNTSetProfilePhotoArg
Objective-C
@interface DBACCOUNTSetProfilePhotoArg : NSObject <DBSerializable, NSCopying>
                Swift
class DBACCOUNTSetProfilePhotoArg : NSObject, DBSerializable, NSCopying
                The SetProfilePhotoArg struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
Image to set as the user’s new profile photo.
Declaration
Objective-C
@property (nonatomic, readonly) DBACCOUNTPhotoSourceArg *_Nonnull photo;Swift
var photo: DBACCOUNTPhotoSourceArg { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPhoto:(nonnull DBACCOUNTPhotoSourceArg *)photo;Swift
init(photo: DBACCOUNTPhotoSourceArg)Parameters
photoImage to set as the user’s new profile photo.
Return Value
An initialized instance.
 
View on GitHub
        DBACCOUNTSetProfilePhotoArg Class Reference