SmartCardReaderMonitor::updateReaderState()

Notify the smart card framework of state changes.

Synopsis:

#include <smartcard_spi/SmartCardReaderMonitor.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardReaderMonitor::updateReaderState(sc_reader_state_t &readerState)=0

Since:

BlackBerry 10.3.0

Arguments:

readerState

The new reader state, which is populated by this function.

Library:

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

Description:

This function notifies the smart card framework of state changes to the smart card reader. For example, when the reader detects that a smart card has been removed, the reader driver may use this function to notify the smart card framework about this reader status change event.

Returns:

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