public static class MtuTestCallback.TestResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MtuTestCallback.TestResult.Result |
Modifier and Type | Method and Description |
---|---|
BleDevice |
device()
The
BleDevice the test was run on. |
MtuTestCallback.TestResult.Result |
result()
The result of the MTU test -- you can also just call
wasSuccess() if you only care if it worked or not. |
boolean |
wasSuccess()
Convenience method to see if the MTU test worked or not.
|
ReadWriteListener.Status |
write_status()
If
wasSuccess() returns false , and result() is MtuTestCallback.TestResult.Result.OTHER_FAILURE , this value will hold
the ReadWriteListener.Status from the write which was performed as the test. |
public MtuTestCallback.TestResult.Result result()
wasSuccess()
if you only care if it worked or not.public ReadWriteListener.Status write_status()
wasSuccess()
returns false
, and result()
is MtuTestCallback.TestResult.Result.OTHER_FAILURE
, this value will hold
the ReadWriteListener.Status
from the write which was performed as the test.public boolean wasSuccess()