Enumerations
The following enumerations are available globally.
-
Identifiers for every color the SDK can resolve from your
BRAppearanceTheme.Override
See more-[BRAppearanceTheme colorForKey:]and return aUIColor, ornilto keep the built-in style for that element. Each case maps to one background, text color, or icon tint in the SDK’s stock scan UI.Declaration
Objective-C
enum BRAppearanceColorKey : NSInteger {}Swift
enum BRAppearanceColorKey : Int, @unchecked Sendable -
Identifiers for every icon the SDK can resolve from your
BRAppearanceTheme.Override
See more-[BRAppearanceTheme imageForKey:]and return aUIImage, ornilto keep the built-in asset. Each case lists the recommended image size in points; the stock control scales the image to fit its button if you supply a different size, so the listed size produces the cleanest result. Include @2x and @3x variants for Retina screens.Declaration
Objective-C
enum BRAppearanceIconKey : NSInteger {}Swift
enum BRAppearanceIconKey : Int, @unchecked Sendable -
Declaration
Objective-C
enum BRDistanceStatus : NSUInteger {}Swift
enum BRDistanceStatus : UInt, @unchecked Sendable -
Declaration
Objective-C
enum BRWrongRetailerConfidence : NSUInteger {}Swift
enum BRWrongRetailerConfidence : UInt, @unchecked Sendable -
Declaration
Objective-C
enum BRLightingCondition : NSUInteger {}Swift
enum BRLightingCondition : UInt, @unchecked Sendable -
Declaration
Objective-C
enum BRCameraType : NSUInteger {}Swift
enum BRCameraType : UInt, @unchecked Sendable -
Declaration
Objective-C
enum BRCouponType : NSUInteger {}Swift
enum BRCouponType : UInt, @unchecked Sendable -
Declaration
Objective-C
enum BRMissedEarningsLookupResult : NSUInteger {}Swift
enum BRMissedEarningsLookupResult : UInt, @unchecked Sendable -
If retailer is known in advance, setting
See moreBRScanOptions.retailerIdto one of these values can increase scanning accuracy.Declaration
Objective-C
enum WFRetailerId : NSUInteger {}Swift
enum WFRetailerId : UInt, @unchecked Sendable -
Represents a single method of identifying the merchant on the receipt
See moreDeclaration
Objective-C
enum BRMerchantSource : NSUInteger {}Swift
enum BRMerchantSource : UInt, @unchecked Sendable -
Declaration
Objective-C
enum BRErrorCodes : NSUInteger {}Swift
enum BRErrorCodes : UInt, @unchecked Sendable -
Declaration
Objective-C
NS_ENUM(NSUInteger, BRSurveyQuestionType) { BRSurveyQuestionTypeMultipleChoice, BRSurveyQuestionTypeOpenEnded }Swift
enum BRSurveyQuestionType : UInt, @unchecked Sendable
View on GitHub
Enumerations Reference