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

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

Definition

Namespace:Telerik.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class TextMessageQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder

Inheritance: objectQRCodeValueStringBuilderBaseTextMessageQRCodeValueStringBuilder

Implements: IQRCodeValueStringBuilder

Constructors

Initializes a new instance of the TextMessageQRCodeValueStringBuilder class.

C#
public TextMessageQRCodeValueStringBuilder(string number, string body = null)
Parameters:numberstring

The number of the receiver.

bodystring

Optional body of the message.

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()