SmartCardDriverManager::registerReaderDriver()

Register a smart card reader driver.

Synopsis:

#include <smartcard_spi/SmartCardDriverManager.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardDriverManager::registerReaderDriver(const sc_reader_name_t &readerName, SmartCardReaderDriver *smartCardReaderDriver)=0

Since:

BlackBerry 10.3.0

Arguments:

readerName

The smart card reader name.

smartCardReaderDriver

The smart card reader factory implementation provided by the driver; must not be NULL.

Library:

libscs (For the qcc command, use the -l scs option to link against this library)

Description:

This function registers a smart card reader driver. The smart card framework will maintain a pointer to the provided factory. It is expected that the factory object will not be deleted until the instance is destroyed, and this will typically occur when the driver process terminates.

Returns:

If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus