BlueberrySherbet

annotations / com.gmail.ayteneve93.blueberrysherbetannotations / WRITE

WRITE

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

BLE function annotation for ‘Write’ method.

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

Example Code

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

Constructors

Name Summary
(JVM) <init> BLE function annotation for ‘Write’ method.WRITE(uuidString: String, checkIsReliable: Boolean = false)

Properties

Name Summary
(JVM) checkIsReliable Set true when it should be reliable write.val checkIsReliable: Boolean
(JVM) uuidString UUID value in string format of BLE characteristic.val uuidString: String