Package-level declarations

Types

Link copied to clipboard
interface Device

A Bluetooth Device that is either the Peripheral (Server) or Central (Client)

Link copied to clipboard
actual typealias Identifier = String
typealias Identifier = String

Unique identifier of a Bluetooth Device

actual typealias Identifier = NSUUID
typealias Identifier = NSUUID

Unique identifier of a Bluetooth Device

expect class Identifier

Unique identifier of a Bluetooth Device

actual typealias Identifier = String
typealias Identifier = String

Unique identifier of a Bluetooth Device. On the JS family this is the opaque per-origin BluetoothDevice.id string.

Link copied to clipboard
open class IdentifierSerializer : KSerializer<SerializableIdentifier>

KSerializer for a SerializableIdentifier

Link copied to clipboard
@Serializable(with = IdentifierSerializer::class)
data class SerializableIdentifier(val identifier: Identifier)

A Identifier that can be serialized

Properties

Link copied to clipboard

Gets a string representation of an Identifier

Gets a string representation of an Identifier

Gets a string representation of an Identifier

Gets a string representation of an Identifier

Functions

Link copied to clipboard
actual fun identifierFromString(stringValue: String): Identifier?

Gets an Identifier from a string value

actual fun identifierFromString(stringValue: String): Identifier?

Gets an Identifier from a string value

expect fun identifierFromString(stringValue: String): Identifier?

Gets an Identifier from a string value

actual fun identifierFromString(stringValue: String): Identifier?

Gets an Identifier from a string value

Link copied to clipboard

Gets a random Identifier

Gets a random Identifier

Gets a random Identifier

Gets a random Identifier