Re-establish an existing connection to a smart card.
#include <smartcard_spi/SmartCardSession.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardSession::reconnect(unsigned int flags, unsigned int preferredProtocols, sc_card_disposition_t dispositionAction, sc_protocol_t &activeProtocol)=0
BlackBerry 10.3.0
The set of protocols that can be used when initializing the connection to the card. Note that only one of the protocols identified in this parameter will be used. If none of the listed protocols is available, then an error is returned.
The desired action to be performed as part of re-establishing the connection to the card.
The actual protocol used in the connection to the smart card, which is populated by this function.
This function re-establishes an existing connection to a smart card. For example, you can use this function to:
Note that a connection must have previously been established, otherwise an error is returned.
If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.