VoucherRevealManagerBuilder
@interface VoucherRevealManagerBuilder : NSObject
VoucherRevealManagerBuilder
is used to construct the VOVoucherRevealManager
and should not be initialized directly.
-
The theme used in the
VOVoucherRevealViewController
. -
Whether the
VOVoucher
should be claimed immediately after it is unwrapped during the reveal flow.Declaration
Objective-C
@property (readonly, nonatomic) BOOL shouldClaimVoucherAfterUnwrap;
Swift
var shouldClaimVoucherAfterUnwrap: Bool { get }
-
Whether the game (if picked) should be played before the reveal is shown.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL shouldPlayGameFirst;
Swift
var shouldPlayGameFirst: Bool { get set }
-
VOVoucherManager
used to send unwrap and claim calls to the Vouchr Server.Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) id<VOVoucherManagerProtocol> voucherManager;
-
VOUserManager
used to get user information.Declaration
Objective-C
@property (assign, readwrite, nonatomic) id<VOUserManagerProtocol> _Nonnull userManager;
-
Analytics manager used to track events throughout the reveal flow.
Declaration
Objective-C
@property (readwrite, nonatomic) id<VOAnalyticsManagerProtocol> _Nullable analyticsManager;
-
VOWrappingPaperManager
used to get a default wrapping paper.Declaration
Objective-C
@property (assign, readwrite, nonatomic) id<VOWrappingPaperManagerProtocol> _Nonnull wrappingPaperManager;
-
A Fullscreen loading view that will be displayed when user interaction needs to be blocked during load time.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) UIView<VOLoadingViewProtocol> *_Nonnull fullScreenLoadingView;
-
The
VOTheme
for theVODialogView
if it is used.