DBACCOUNTSetProfilePhotoResult

Objective-C

@interface DBACCOUNTSetProfilePhotoResult : NSObject <DBSerializable, NSCopying>

Swift

class DBACCOUNTSetProfilePhotoResult : NSObject, DBSerializable, NSCopying

The SetProfilePhotoResult struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • URL for the photo representing the user, if one is set.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull profilePhotoUrl;

    Swift

    var profilePhotoUrl: String { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithProfilePhotoUrl:
        (nonnull NSString *)profilePhotoUrl;

    Swift

    init(profilePhotoUrl: String)

    Parameters

    profilePhotoUrl

    URL for the photo representing the user, if one is set.

    Return Value

    An initialized instance.