Digital Authentication Framework  6.0.1.37
Static Public Member Functions | List of all members
DADriver Class Reference

Top-level functions provided by the device driver. More...

#include <DigitalAuthenticationFramework.h>

Static Public Member Functions

static void initialize ()
 Initialization function. More...
 
static DADevicegetDevice ()
 Returns pointer to device object. More...
 
static DAErrorgetLastError ()
 Get current error status for device driver. More...
 

Detailed Description

Top-level functions provided by the device driver.

Member Function Documentation

static DADevice* DADriver::getDevice ( )
static

Returns pointer to device object.

NB how this is chosen is not determined by this interface, it's assumed a device-specific UI will choose it.

Returns
Pointer to device object, or NULL if error. Note you don't own this pointer, and shouldn't try to delete it when you no longer need it.
static DAError& DADriver::getLastError ( )
static

Get current error status for device driver.

You can check this at any time, even if no error has occurred.

static void DADriver::initialize ( )
static

Initialization function.

This must be called during app startup, before any other calls, and before any UI is displayed.


The documentation for this class was generated from the following file: