Provider
open class Provider
extension Provider: CustomStringConvertible
This class represents a “provider” for the Smart Card I/O API.
Version
1.0Date
16 Aug 2018-
Returns the name of this provider.
Declaration
Swift
public let name: StringReturn Value
the name of this provider
-
Returns the version number for this provider.
Declaration
Swift
public let version: DoubleReturn 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: StringReturn 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
namethe provider name
versionthe provider version number
infoa description of the provider and its services
-
Sets the
keyproperty to have the specifiedvalue.Declaration
Swift
public func put(key: String, value: String)Parameters
keythe key
valuethe value
-
Declaration
Swift
public var description: String { get }