Class QrConfiguration

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll
API Level:
4

Represents a QR configuration of BarcodeGenerator.

C#
Copy
public class QrConfiguration : object
Inheritance
QrConfiguration

Constructors

View Source

QrConfiguration(QrMode, ErrorCorrectionLevel, Int32)

Initializes a new instance of the QrConfiguration class.

Declaration
C#
Copy
public QrConfiguration(QrMode qrMode, ErrorCorrectionLevel ecc, int version)
Parameters
Type Name Description
QrMode qrMode

Encoding mode for the message.

ErrorCorrectionLevel ecc

Error correction level.

Int32 version

QR code version. From 1 to 40 inclusive.

Examples
Copy
var qrConfig = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 30);
API Level: 4

Properties

View Source

DataShape

Gets or sets the data shape of the Design QR code.

Declaration
C#
Copy
public QrShape DataShape { get; set; }
Property Value
Type Description
QrShape
Remarks

The default value is Rectangular.

API Level: 11
View Source

EmbedImagePath

Gets or sets the embed image absolute path of the Design QR code.

Declaration
C#
Copy
public string EmbedImagePath { get; set; }
Property Value
Type Description
String
Remarks

The mediastorage privilege (http://tizen.org/privilege/mediastorage) is needed if the image path is relevant to media storage.
The externalstorage privilege (http://tizen.org/privilege/externalstorage) is needed if the image path is relevant to external storage.

API Level: 11
View Source

ErrorCorrectionLevel

Gets the error correction level.

Declaration
C#
Copy
public ErrorCorrectionLevel ErrorCorrectionLevel { get; }
Property Value
Type Description
ErrorCorrectionLevel
API Level: 4
View Source

FinderShape

Gets or sets the finder shape of the Design QR code.

Declaration
C#
Copy
public QrShape FinderShape { get; set; }
Property Value
Type Description
QrShape
Remarks

The default value is Rectangular.

API Level: 11
View Source

Mode

Gets the encoding mode for the message.

Declaration
C#
Copy
public QrMode Mode { get; }
Property Value
Type Description
QrMode
API Level: 4
View Source

Version

Gets the QR code version.

Declaration
C#
Copy
public int Version { get; }
Property Value
Type Description
Int32
API Level: 4

Extension Methods