QRCode

public class QRCode

Encapsulates the information of the QR code.

  • Organization ID

    Declaration

    Swift

    public private(set) var orgID: String?
  • QR Code Type

    Declaration

    Swift

    public private(set) var qrCodeType: QRCodeType
  • The QR Code String

    Declaration

    Swift

    public private(set) var qrString: String
  • The server information

    Declaration

    Swift

    public private(set) var serverInfo: Dictionary<String, Any>?
  • 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?