QRCode
public class QRCode
Encapsulates the information of the QR code.
-
Organization ID
Declaration
Swift
public private(set) var orgID: String? { get }
-
QR Code Type
Declaration
Swift
public private(set) var qrCodeType: QRCodeType { get }
-
The QR Code String
Declaration
Swift
public private(set) var qrString: String { get }
-
The server information
Declaration
Swift
public private(set) var serverInfo: Dictionary<String, Any>? { get }
-
Constructor
Declaration
Swift
public init(string: String)
Parameters
string
The string in QR code.
-
Returns true if the QR code contains server configuration.
Declaration
Swift
public func containsServerConfiguration() -> Bool
-
Returns the target server in the QR code.
Declaration
Swift
public func targetServer() -> Server?