Instance Method

getSlot(withName:reply:)

Asynchronously calls a block with a Smart Card reader slot for a specified name.

Declaration

func getSlot(withName name: String, reply: @escaping (TKSmartCardSlot?) -> Void)

Parameters

name

The name of the Smart Card reader slot.

reply
slot

The Smart Card reader slot corresponding to the specified name. If no slot exists with that name, this argument is nil.

See Also

Accessing Smart Card Slots

var slotNames: [String]

A list of identifiers for all the Smart Card reader slots available to the system.

func slotNamed(String) -> TKSmartCardSlot?

Returns the Smart Card slot with a given name.