Value

actual typealias Value = ByteArray

The value of a bluetooth attribute

actual typealias Value = NSData

The value of a bluetooth attribute

expect class Value

The value of a platform specific bluetooth attribute

actual typealias Value = ByteArray

The value of a bluetooth attribute. On the JS family GATT values are read as DataViews; they are converted to a ByteArray at the interop boundary, so Value is simply the bytes.

Properties

Link copied to clipboard
actual val Value.asBytes: ByteArray

Gets the ByteArray value of a Value

actual val Value.asBytes: ByteArray

Gets the ByteArray value of a Value

expect val Value.asBytes: ByteArray

Gets the ByteArray value of a Value

actual val Value.asBytes: ByteArray

Gets the ByteArray value of a Value