com.upek.android.ptapi.callback
Interface PtNavigationCallback


public interface PtNavigationCallback

Interface with the callback function that the application must supply to the PTNavigate and PTClickCalibrate functions to receive the navigation data.


Method Summary
 byte navigationCallbackInvoke(PtNavigationData navigationData)
          Invoke callback function of this interface.
 

Method Detail

navigationCallbackInvoke

byte navigationCallbackInvoke(PtNavigationData navigationData)
                              throws PtException
Invoke callback function of this interface.

Parameters:
navigationData - The received navigation data.
Returns:
The response from the application back to the PTAPI on return from the callback. Can be one of the values PT_CANCEL or PT_CONTINUE. Other values are reserved for future use. (Corresponds with parameter pbyResponse in original function)
Throws:
PtException - Error code of fail, if any was occurred.
RemoteException - Can be thrown during remote method invocation only.