annotations / com.gmail.ayteneve93.blueberrysherbetannotations / 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()
}
Name | Summary |
---|---|
(JVM) <init> | BLE function annotation for ‘Read’ method.READ(uuidString: String ) |
Name | Summary |
---|---|
(JVM) uuidString | UUID value in string format of BLE characteristic.val uuidString: String |