Class representation of a vCard.

Example

const vCard = new VCard(Kind.Individual);
vCard.setFullName("Jane Doe");

vCard.toString();

Hierarchy

  • VCard

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

_abLabel?: ABLabelProperty
_address?: AddressProperty
_album?: AlbumProperty
_anniversary?: AnniversaryProperty
_begin?: BeginProperty
_birthPlace?: BirthPlaceProperty
_birthday?: BirthdayProperty
_calendarAddressUri?: CalendarAddressUriProperty
_calendarUri?: CalendarUriProperty
_categories?: CategoriesProperty
_contactUri?: ContactUriProperty
_deathDate?: DeathDateProperty
_deathPlace?: DeathPlaceProperty
_depiction?: DepictionProperty
_email?: EmailProperty
_expertise?: ExpertiseProperty
_fbUrl?: FbUrlProperty
_fullName: FullNameProperty
_gender?: GenderProperty
_geoLocation?: GeoLocationProperty
_hobby?: HobbyProperty
_impp?: ImppProperty
_interest?: InterestProperty
_language?: LanguageProperty
_logo?: LogoProperty
_member?: MemberProperty
_name?: NameProperty
_nickName?: NickNameProperty
_note?: NoteProperty
_openId?: OpenIdProperty
_orgDirectory?: OrgDirectoryProperty
_organization?: OrganizationProperty
_photo?: PhotoProperty
_productId?: ProductIdProperty
_related?: RelatedProperty
_revision?: RevisionProperty
_role?: RoleProperty
_socialCode?: SocialCodeProperty
_socialProfile?: SocialProfileProperty
_sound?: SoundProperty
_source?: SourceProperty
_timezone?: TimezoneProperty
_title?: TitleProperty
_version?: VersionProperty

Accessors

Methods

  • Override the value of the begin property.

    Deprecated

    using this method has no effect, it is only here for completeness.

    Parameters

    Returns void

  • Override the value of the end property.

    Deprecated

    using this method has no effect, it is only here for completeness.

    Parameters

    • end: EndProperty

      the end property value of the vCard.

    Returns void

  • Generates a string representation of the vCard compatible with RFC 6350.

    Returns

    the generated vCard string.

    Returns string

Generated using TypeDoc