BlueberrySherbet

annotations / com.gmail.ayteneve93.blueberrysherbetannotations / NOTIFY

NOTIFY

(JVM) @Target([AnnotationTarget.FUNCTION]) annotation class NOTIFY

BLE function annotation for ‘Notify’ method.

This annotation is used to declare ‘Notify’ method BLE function.

Example Code

    @BlueberryService
    interface YourBleService {
        @NOTIFY("aaaaaaaa-bbbb-cccc-dddd-eeeeeeee0101")
        fun funcA()
    }

Constructors

Name Summary
(JVM) <init> BLE function annotation for ‘Notify’ method.NOTIFY(uuidString: String, endSignal: String = 0x00.toChar().toString())

Properties

Name Summary
(JVM) endSignal Notification end signal string.val endSignal: String
(JVM) uuidString UUID value in string format of BLE characteristic.val uuidString: String