Provider

open class Provider
extension Provider: CustomStringConvertible

This class represents a “provider” for the Smart Card I/O API.

Author

Benjamin Renaud

Author

Andreas Sterbenz

Author

Godfrey Chung

Version

1.0

Date

16 Aug 2018
  • Returns the name of this provider.

    Declaration

    Swift

    public let name: String

    Return Value

    the name of this provider

  • Returns the version number for this provider.

    Declaration

    Swift

    public let version: Double

    Return Value

    the version number for this provider

  • Returns a human-readable description of the provider and its services. This may return an HTML page, with relevant links.

    Declaration

    Swift

    public let info: String

    Return Value

    a description of the provider and its services

  • Constructs a provider with the specified name, version number, and information.

    Declaration

    Swift

    public init(name: String, version: Double, info: String)

    Parameters

    name

    the provider name

    version

    the provider version number

    info

    a description of the provider and its services

  • Sets the key property to have the specified value.

    Declaration

    Swift

    public func put(key: String, value: String)

    Parameters

    key

    the key

    value

    the value

CustomStringConvertible

  • Declaration

    Swift

    public var description: String { get }