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 @Sendable (TKSmartCardSlot?) -> Void)func getSlot(withName name: String) async -> TKSmartCardSlot?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.