DDNotificationContactPhotoPromise

@interface DDNotificationContactPhotoPromise

A promise representing a commitment to providing a contact icon for a notification.

  • An object holding the settings pertaining to the photo to be displayed.

    Declaration

    Objective-C

    @property (nonatomic, retain, readwrite)
        DDNotificationContactPhotoSettings *settings;
  • Whether or not this promise has already been resolved or rejected.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readonly) int isComplete;
  • Resolve this promise with the provided image, notifying ShortLook that you have received your image.

    Note

    This method should only be ran from within addResolver:.

    Declaration

    Objective-C

    - (void)resolveWithImage:(id)image;
  • Reject this promise, notifying ShortLook that you failed to receive an image.

    Note

    This method should only be ran from within addResolver:.

    Declaration

    Objective-C

    - (void)reject;