Skip to main content

BarcodeData

Classes

BarcodeData

Implements

Constructors

Constructor
new BarcodeData(rawData?): BarcodeData;
Parameters
ParameterType
rawData?string | IBarcodeData
Returns

BarcodeData

Properties

addresses?
optional addresses?: VCardAddress[] = [];
Implementation of

IBarcodeData.addresses

barcodeFormat
barcodeFormat: BarcodeFormat = BarcodeFormat.QR_CODE;
Implementation of

IBarcodeData.barcodeFormat

barcodeSubType
barcodeSubType: BarcodeSubType = BarcodeSubType.None;
Implementation of

IBarcodeData.barcodeSubType

barcodeValue?
optional barcodeValue?: string;
Implementation of

IBarcodeData.barcodeValue

data?
optional data?: string;
Implementation of

IBarcodeData.data

email?
optional email?: string;
Implementation of

IBarcodeData.email

fax?
optional fax?: string;
Implementation of

IBarcodeData.fax

firstName?
optional firstName?: string;
Implementation of

IBarcodeData.firstName

lastName?
optional lastName?: string;
Implementation of

IBarcodeData.lastName

mobilePhone?
optional mobilePhone?: string;
Implementation of

IBarcodeData.mobilePhone

organization?
optional organization?: string;
Implementation of

IBarcodeData.organization

phone?
optional phone?: string;
Implementation of

IBarcodeData.phone

position?
optional position?: string;
Implementation of

IBarcodeData.position

url?
optional url?: string;
Implementation of

IBarcodeData.url

Accessors

isEmpty
Get Signature
get isEmpty(): boolean;
Returns

boolean

Methods

equals()
equals(other): any;
Parameters
ParameterType
otherBarcodeData
Returns

any

Implementation of

IEqualsReady.equals

toVCardString()
toVCardString(): string;
Returns

string

fromVCardString()
static fromVCardString(value): BarcodeData;
Parameters
ParameterType
valuestring
Returns

BarcodeData


VCardAddress

Implements

Constructors

Constructor
new VCardAddress(address?): VCardAddress;
Parameters
ParameterType
addressIVCardAddress
Returns

VCardAddress

Properties

address?
optional address?: string;
Implementation of

IVCardAddress.address

country?
optional country?: string;
Implementation of

IVCardAddress.country

extendedAddress?
optional extendedAddress?: string;
Implementation of

IVCardAddress.extendedAddress

locality?
optional locality?: string;
Implementation of

IVCardAddress.locality

POBox?
optional POBox?: string;
Implementation of

IVCardAddress.POBox

state?
optional state?: string;
Implementation of

IVCardAddress.state

type?
optional type?: VCardAddressType[];
Implementation of

IVCardAddress.type

zipCode?
optional zipCode?: string;
Implementation of

IVCardAddress.zipCode

Accessors

isEmpty
Get Signature
get isEmpty(): boolean;
Returns

boolean

Methods

equals()
equals(other): boolean;
Parameters
ParameterType
otherIVCardAddress
Returns

boolean

Implementation of

IEqualsReady.equals

toVCardValue()
toVCardValue(): string[];
Returns

string[]

fromVCardValue()
static fromVCardValue(vCardAddress, meta): VCardAddress;
Parameters
ParameterType
vCardAddressstring[]
metaIAddressMetadata
Returns

VCardAddress

Was this page helpful?