Old revisions Add to book Export to PDF Table of Contents Card API scanCard Return Code cancelScanCard Return Code pauseCardService Return Code resumeCardService Return Code Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help Card API scanCard Request that the device scan the card. int scanCard() Return Code Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs. The API will return immediately upon starting the card scanning service and, if a card scan is detected, the data will be passed on to the DeviceListner::onCardScanCompleted callback listener. The card scan progress can be checked via DeviceListner::onCardScanProgress. cancelScanCard Request that the device stop scanning the card. int cancelScanCard() Return Code Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs. pauseCardService Pause the device's card service. int pauseCardService() Return Code Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs. resumeCardService Resume the device's card service. int resumeCardService() Return Code Returns “SUCCESS” if successfully launched; returns the corresponding error code if an error occurs.