BarcodeData
Classes
BarcodeData
Implements
Constructors
Constructor
new BarcodeData(rawData?): BarcodeData;
Parameters
| Parameter | Type |
|---|---|
rawData? | string | IBarcodeData |
Returns
Properties
addresses?
optional addresses?: VCardAddress[] = [];
Implementation of
barcodeFormat
barcodeFormat: BarcodeFormat = BarcodeFormat.QR_CODE;
Implementation of
barcodeSubType
barcodeSubType: BarcodeSubType = BarcodeSubType.None;
Implementation of
barcodeValue?
optional barcodeValue?: string;
Implementation of
data?
optional data?: string;
Implementation of
email?
optional email?: string;
Implementation of
fax?
optional fax?: string;
Implementation of
firstName?
optional firstName?: string;
Implementation of
lastName?
optional lastName?: string;
Implementation of
mobilePhone?
optional mobilePhone?: string;
Implementation of
organization?
optional organization?: string;
Implementation of
phone?
optional phone?: string;
Implementation of
position?
optional position?: string;
Implementation of
url?
optional url?: string;
Implementation of
Accessors
isEmpty
Get Signature
get isEmpty(): boolean;
Returns
boolean
Methods
equals()
equals(other): any;
Parameters
| Parameter | Type |
|---|---|
other | BarcodeData |
Returns
any
Implementation of
toVCardString()
toVCardString(): string;
Returns
string
fromVCardString()
static fromVCardString(value): BarcodeData;
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
VCardAddress
Implements
Constructors
Constructor
new VCardAddress(address?): VCardAddress;
Parameters
| Parameter | Type |
|---|---|
address | IVCardAddress |
Returns
Properties
address?
optional address?: string;
Implementation of
country?
optional country?: string;
Implementation of
extendedAddress?
optional extendedAddress?: string;
Implementation of
locality?
optional locality?: string;
Implementation of
POBox?
optional POBox?: string;
Implementation of
state?
optional state?: string;
Implementation of
type?
optional type?: VCardAddressType[];
Implementation of
zipCode?
optional zipCode?: string;
Implementation of
Accessors
isEmpty
Get Signature
get isEmpty(): boolean;
Returns
boolean
Methods
equals()
equals(other): boolean;
Parameters
| Parameter | Type |
|---|---|
other | IVCardAddress |
Returns
boolean
Implementation of
toVCardValue()
toVCardValue(): string[];
Returns
string[]
fromVCardValue()
static fromVCardValue(vCardAddress, meta): VCardAddress;
Parameters
| Parameter | Type |
|---|---|
vCardAddress | string[] |
meta | IAddressMetadata |