public final class NotifyEnableException extends EventException
NotificationListener.NotificationEvent
of the enable/disable notification operation for more
information about what went wrong. This class is the exception passed into the onError(e) method when calling either
RxBleDevice.enableNotify(BleNotify)
, or RxBleDevice.disableNotify(BleNotify)
.Constructor and Description |
---|
NotifyEnableException(NotificationListener.NotificationEvent event) |
Modifier and Type | Method and Description |
---|---|
NotificationListener.NotificationEvent |
getEvent()
Returns the event instance holding information as to what went wrong.
|
getRxEvent
public NotifyEnableException(NotificationListener.NotificationEvent event)
public NotificationListener.NotificationEvent getEvent()
EventException
getEvent
in class EventException