public interface UhOhListener extends GenericListener_Void<UhOhListener.UhOhEvent>
BleManager.setListener_UhOh(UhOhListener)
to receive a callback when an UhOhListener.UhOh
occurs.UhOhListener.UhOh
Modifier and Type | Interface and Description |
---|---|
static class |
UhOhListener.Remedy
The suggested remedy for each
UhOhListener.UhOh . |
static class |
UhOhListener.UhOh
An UhOh is a warning about an exceptional (in the bad sense) and unfixable problem with the underlying stack that
the app can warn its user about.
|
static class |
UhOhListener.UhOhEvent
Struct passed to
onEvent(UhOhListener.UhOhEvent) . |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(UhOhListener.UhOhEvent e)
This method is called when an
UhOhListener.UhOh happens. |
void onEvent(UhOhListener.UhOhEvent e)
UhOhListener.UhOh
happens. This can be anything from a read/write timing out, to more serious bluetooth
stack issues where a reboot is needed.onEvent
in interface GenericListener_Void<UhOhListener.UhOhEvent>