-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum NotificationSetupMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTConfigures notifications according to the standard. The `Observable` is emitted after both the system notification is setand the CLIENT_CHARACTERISTIC_CONFIG descriptor was written so the notification is fully set up. If a device starts to notifyright after CLIENT_CHARACTERISTIC_CONFIG is written then some early notifications may be lost — see
COMPATCompatibility mode for devices that do not contain CLIENT_CHARACTERISTIC_CONFIG
QUICK_SETUPConfigures notifications according to the standard but in contrast to the DEFAULT mode the `Observable` is emittedbefore the CLIENT_CHARACTERISTIC_CONFIG is written. The CLIENT_CHARACTERISTIC_CONFIG is scheduled for write when the emitted`Observable
-
Method Summary
Modifier and Type Method Description static Array<NotificationSetupMode>values()static NotificationSetupModevalueOf(String name)-
-
Method Detail
-
values
static Array<NotificationSetupMode> values()
-
valueOf
static NotificationSetupMode valueOf(String name)
-
-
-
-