VOPhotoPersonalizationOptionBuilder

@interface VOPhotoPersonalizationOptionBuilder : VOPersonalizationOptionBuilder

VOPhotoPersonalizationOptionBuilder is used only to help construct the VOPhotoPersonalizationOption and should not be initialized directly. Instances of these properties should be instantiated and set in the VOPhotoPersonalizationOption photoPersonalizationOptionWithBuilder: method.

  • Allows the photo to be edited after it is selected.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL allowPhotoEditing;

    Swift

    var allowPhotoEditing: Bool { get set }
  • Allows the user to add their own photos from their camera roll to the VOVoucher.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL canUploadPhotos;

    Swift

    var canUploadPhotos: Bool { get set }
  • Allows the user to add photos taken from their camera to the VOVoucher.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL canTakePhotos;

    Swift

    var canTakePhotos: Bool { get set }
  • Allows the user to add photos from Google image search to the VOVoucher.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL canAddGoogleImages;

    Swift

    var canAddGoogleImages: Bool { get set }
  • Theme used on the VOFullScreenCameraViewController.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) VOTheme *takeAPhotoVouchrTheme;

    Swift

    var takeAPhotoVouchrTheme: VOTheme! { get set }
  • Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) VOTheme *imageSelectorVouchrTheme;

    Swift

    var imageSelectorVouchrTheme: VOTheme! { get set }
  • Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) VOTheme *editImageVouchrTheme;

    Swift

    var editImageVouchrTheme: VOTheme! { get set }
  • The colors of the image tiles that contain the images to choose from. The colors will only be visible before during the loading phase, before the image thumbnail has finished downloading. If you do not want background colors, pass in an empty array.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<UIColor *> *imageBackgroundColors;

    Swift

    var imageBackgroundColors: [UIColor]! { get set }
  • A list of suggested search terms shown to a user in the Google image search screen. If no list of suggested search terms is given, the default list from the Vouchr Server will be used.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<NSString *> *suggestedSearchTerms;

    Swift

    var suggestedSearchTerms: [String]! { get set }
  • The maximum number of images returned by the VOSearchAgent. Set to zero to enable paginated fetches.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger maxSearchResults;

    Swift

    var maxSearchResults: Int { get set }
  • Whether the user is allowed to type in the Google Images search bar. If this is disabled, the user will only be able to search using the suggestedSearchTerms.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL allowUserCustomSearch;

    Swift

    var allowUserCustomSearch: Bool { get set }