public interface IBleTransaction
Modifier and Type | Interface and Description |
---|---|
static interface |
IBleTransaction.Callback
Interface to define contract for callback methods for a transaction.
|
static class |
IBleTransaction.DefaultFactory
Default class to create a new instance of IBleTransaction (implemented via BleTransactionImpl)
|
static interface |
IBleTransaction.Factory
Factory interface used to instantiate a new internal transaction class
|
Modifier and Type | Field and Description |
---|---|
static IBleTransaction.Factory |
DEFAULT_FACTORY |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
boolean |
fail() |
BleTransaction.Atomicity |
getAtomicity() |
IBleDevice |
getDevice() |
double |
getTime() |
void |
init(IBleDevice device,
com.idevicesinc.sweetblue.internal.PI_EndListener listener) |
boolean |
isRunning() |
void |
start_internal() |
boolean |
succeed() |
void |
update_internal(double timeStep) |
static final IBleTransaction.Factory DEFAULT_FACTORY
IBleDevice getDevice()
boolean isRunning()
void cancel()
boolean fail()
boolean succeed()
double getTime()
BleTransaction.Atomicity getAtomicity()
void start_internal()
void init(IBleDevice device, com.idevicesinc.sweetblue.internal.PI_EndListener listener)
void update_internal(double timeStep)