ioio.lib.api
Interface TwiMaster.Result
- Enclosing interface:
- TwiMaster
public static interface TwiMaster.Result
An object that can be waited on for asynchronous calls.
Method Summary |
boolean |
waitReady()
Wait until the asynchronous call which returned this instance is
complete. |
waitReady
boolean waitReady()
throws ConnectionLostException,
java.lang.InterruptedException
- Wait until the asynchronous call which returned this instance is
complete.
- Returns:
- true if TWI transaction succeeded.
- Throws:
ConnectionLostException
- Connection with the IOIO has been lost.
java.lang.InterruptedException
- This operation has been interrupted.