New to Telerik UI for .NET MAUIStart a free 30-day trial

Holds the information needed for a MeCard QR code to be validated and generated.

Definition

Namespace:Telerik.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class MeCardQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder

Inheritance: objectQRCodeValueStringBuilderBaseMeCardQRCodeValueStringBuilder

Implements: IQRCodeValueStringBuilder

Constructors

Initializes a new instance of the MeCardQRCodeValueStringBuilder class.

C#
public MeCardQRCodeValueStringBuilder(string name, string reading, string nickname, DateTime? birthday, string memo, string phoneNumber, string videoPhoneNumber, string email, string address, string url)
Parameters:namestring

The text string to be set as the name in the phonebook.

readingstring

The text string to be set as the kana name in the phonebook.

nicknamestring

The text string to be set as the nickname in the phonebook.

birthdayDateTime?

The date to be set as the birthday in the phonebook.

memostring

The text string to be set as the memo in the phonebook.

phoneNumberstring

The text string to be set as the telephone number in the phonebook.

videoPhoneNumberstring

The text string to be set as the videophone number in the phonebook.

emailstring

The text string to be set as the e-mail address in the phonebook.

addressstring

The text string to be set as the address in the phonebook.The fields divided by commas (,) denote PO box, room number, house number, city, prefecture, zip code and country, in order.

urlstring

The text string to be set as the homepage URL in the phonebook.

Initializes a new instance of the MeCardQRCodeValueStringBuilder class.

C#
public MeCardQRCodeValueStringBuilder(string name, string reading, string nickname, DateTime? birthday, string memo, string[] phoneNumbers, string[] videoPhoneNumbers, string[] emails, string[] addresses, string[] urls)
Parameters:namestring

The text string to be set as the name in the phonebook.

readingstring

The text string to be set as the kana name in the phonebook.

nicknamestring

The text string to be set as the nickname in the phonebook.

birthdayDateTime?

The date to be set as the birthday in the phonebook.

memostring

The text string to be set as the memo in the phonebook.

phoneNumbersstring[]

A collection of text strings to be set as telephone numbers in the phonebook.

videoPhoneNumbersstring[]

A collection of text strings to be set as the videophone numbers in the phonebook.

emailsstring[]

A collection of text strings to be set as the e-mail addresses in the phonebook.

addressesstring[]

A collection of text strings to be set as the addresses in the phonebook.The fields divided by commas (,) denote PO box, room number, house number, city, prefecture, zip code and country, in order.

urlsstring[]

A collection of text strings to be set as the homepage URLs in the phonebook.

Methods

Builds the string value that will be used for encoding in a barcode.

C#
public override string BuildValue()
Returns:

string

Overrides: QRCodeValueStringBuilderBase.BuildValue()

Validates and returns all errors as a new line delimited string.

C#
public override string Validate()
Returns:

string

Overrides: QRCodeValueStringBuilderBase.Validate()