ogs-plugin-sdk
Preparing search index...
bluetooth
BluetoothCharacteristic
Interface BluetoothCharacteristic
Represents a bluetooth characteristic on the device
interface
BluetoothCharacteristic
{
on
(
event
:
"data"
,
listener
:
(
data
:
ArrayBufferLike
,
isNotification
:
boolean
)
=>
void
,
)
:
this
;
read
()
:
Promise
<
ArrayBufferLike
>
;
write
(
data
:
ArrayBufferLike
,
withoutResponse
?:
boolean
)
:
Promise
<
void
>
;
subscribe
()
:
Promise
<
void
>
;
unsubscribe
()
:
Promise
<
void
>
;
}
Index
Methods
on
read
write
subscribe
unsubscribe
Methods
on
on
(
event
:
"data"
,
listener
:
(
data
:
ArrayBufferLike
,
isNotification
:
boolean
)
=>
void
,
)
:
this
Parameters
event
:
"data"
listener
:
(
data
:
ArrayBufferLike
,
isNotification
:
boolean
)
=>
void
Returns
this
read
read
()
:
Promise
<
ArrayBufferLike
>
Returns
Promise
<
ArrayBufferLike
>
write
write
(
data
:
ArrayBufferLike
,
withoutResponse
?:
boolean
)
:
Promise
<
void
>
Parameters
data
:
ArrayBufferLike
Optional
withoutResponse
:
boolean
Returns
Promise
<
void
>
subscribe
subscribe
()
:
Promise
<
void
>
Returns
Promise
<
void
>
unsubscribe
unsubscribe
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
on
read
write
subscribe
unsubscribe
ogs-plugin-sdk
Loading...
Represents a bluetooth characteristic on the device