PhotoPersonalizationOptionBuilder
@interface PhotoPersonalizationOptionBuilder : PersonalizationOptionBuilder
PhotoPersonalizationOptionBuilder
is used only to help construct the PhotoPersonalizationOption
and should not be initialized directly.
Instances of these properties should be instantiated and set in the PhotoPersonalizationOption
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
Voucher
.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
Voucher
.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
Voucher
.Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL canAddGoogleImages;
Swift
var canAddGoogleImages: Bool { get set }
-
Theme used on the
FullScreenCameraViewController
.Declaration
Objective-C
@property (readwrite, strong, nonatomic) VouchrTheme *takeAPhotoVouchrTheme;
Swift
var takeAPhotoVouchrTheme: VouchrTheme! { get set }
-
Theme used on the
VouchrImageMediaSearchViewController
.Declaration
Objective-C
@property (readwrite, strong, nonatomic) VouchrTheme *imageSelectorVouchrTheme;
Swift
var imageSelectorVouchrTheme: VouchrTheme! { get set }
-
Theme used on the
FullScreenImageEditViewController
.Declaration
Objective-C
@property (readwrite, strong, nonatomic) VouchrTheme *editImageVouchrTheme;
Swift
var editImageVouchrTheme: VouchrTheme! { 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
SearchAgent
. 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 }