-
- All Implemented Interfaces:
-
java.io.Serializable
public class BleConflictingNotificationAlreadySetException extends BleException
An exception being emitted from setupNotification/ setupIndication or overloads in case when an opposite type (indication/notification) was already set. To make it possible to set this type of notification/indication the previous one must be unsubscribed.
-
-
Field Summary
Fields Modifier and Type Field Description private final UUIDcharacteristicUuid
-
Constructor Summary
Constructors Constructor Description BleConflictingNotificationAlreadySetException(UUID characteristicUuid, boolean alreadySetIsIndication)
-
Method Summary
Modifier and Type Method Description UUIDgetCharacteristicUuid()booleanindicationAlreadySet()booleannotificationAlreadySet()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BleConflictingNotificationAlreadySetException
BleConflictingNotificationAlreadySetException(UUID characteristicUuid, boolean alreadySetIsIndication)
-
-
Method Detail
-
getCharacteristicUuid
UUID getCharacteristicUuid()
-
indicationAlreadySet
boolean indicationAlreadySet()
-
notificationAlreadySet
boolean notificationAlreadySet()
-
-
-
-