SBSDKBarcodeType
@interface SBSDKBarcodeType : NSObject
Class that represents a barcode type.
-
Name of the barcode type.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
This class cannot be instantiated.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Returns an array of all valid bar code types.
Declaration
Objective-C
+ (nonnull NSArray<SBSDKBarcodeType *> *)allTypes;
Swift
class func allTypes() -> [SBSDKBarcodeType]
-
Returns an array of all commonly-used bar code types.
Declaration
Objective-C
+ (nonnull NSArray<SBSDKBarcodeType *> *)commonTypes;
Swift
class func commonTypes() -> [SBSDKBarcodeType]