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]
-
Returns an array containing all 1-D barcode types
Declaration
Objective-C
+ (nonnull NSArray<SBSDKBarcodeType *> *)oneDTypes;
Swift
class func oneDTypes() -> [SBSDKBarcodeType]
-
Returns an array containing all 2-D barcode types
Declaration
Objective-C
+ (nonnull NSArray<SBSDKBarcodeType *> *)twoDTypes;
Swift
class func twoDTypes() -> [SBSDKBarcodeType]