Class QrConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
- API Level:
- 4
Represents a QR configuration of BarcodeGenerator.
public class QrConfiguration
- Inheritance
-
QrConfiguration
Constructors
View SourceQrConfiguration(QrMode, ErrorCorrectionLevel, Int32)
Initializes a new instance of the QrConfiguration class.
Declaration
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
var qrConfig = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 30);
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |
|
ArgumentException |
|
API Level: 4
Properties
View SourceErrorCorrectionLevel
Gets the error correction level.
Declaration
public ErrorCorrectionLevel ErrorCorrectionLevel { get; }
Property Value
Type | Description |
---|---|
ErrorCorrectionLevel |
API Level: 4
View SourceMode
Gets the encoding mode for the message.
Declaration
public QrMode Mode { get; }
Property Value
Type | Description |
---|---|
QrMode |
API Level: 4
View SourceVersion
Gets the QR code version.
Declaration
public int Version { get; }
Property Value
Type | Description |
---|---|
Int32 |