com.upek.android.ptapi.callback
Interface PtIdleCallback
public interface PtIdleCallback
Interface with the callback function that the application could optionally
supply to the PTSleep function to be periodically called while FM is
in a sleep or standby mode.
idleCallbackInvoke
byte idleCallbackInvoke()
throws PtException
- Invoke callback function of this interface.
- Returns:
- The response from the application back to the PTAPI
on return from the callback. Can be one of the values PT_SLEEP_STOP,
i.e. wakeup, or PT_SLEEP_CONTINUE, i.e. continue to sleep. 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.