annotations / com.gmail.ayteneve93.blueberrysherbetannotations / 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()
}
Name | Summary |
---|---|
(JVM) <init> | BLE function annotation for ‘Write’ method.WRITE(uuidString: String , checkIsReliable: Boolean = false) |
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 |