AI-generated Key Takeaways
-
MLKBarcodeContactInfoprovides a simplified representation of business card data extracted from barcodes, including contact details like name, addresses, emails, and phone numbers. -
It supports various underlying formats such as
VCARDandMECARD, offering access to essential contact information. -
For complete, unprocessed barcode data, the
rawValueproperty of the associatedBarcodeobject should be used. -
Developers can access specific contact details through properties like
addresses,emails,name,phones,urls,jobTitle, andorganization.
MLKBarcodeContactInfo
@interface MLKBarcodeContactInfo : NSObjectA person’s or organization’s business card. This may come from different underlying formats
including VCARD and MECARD.
This object represents a simplified view of possible business cards. If you require lossless
access to the information in the barcode, you should parse the raw data yourself. To access the
raw data, use the Barcode‘s rawValue property.
-
Person’s or organization’s addresses.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<MLKBarcodeAddress *> *addresses; -
Contact emails.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<MLKBarcodeEmail *> *emails; -
A person’s name.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) MLKBarcodePersonName *name; -
Contact phone numbers.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<MLKBarcodePhone *> *phones; -
Contact URLs.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *urls; -
A job title.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *jobTitle; -
A business organization.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *organization; -
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;