BlueberrySherbet

annotations / com.gmail.ayteneve93.blueberrysherbetannotations / READ

READ

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

BLE function annotation for ‘Read’ method.

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

Example Code

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

Constructors

Name Summary
(JVM) <init> BLE function annotation for ‘Read’ method.READ(uuidString: String)

Properties

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