Initializerpureswift.bluetooth 7.2.0Bluetooth
init
Creates a random 128-bit Bluetooth UUID.
init()
Creates a random 128-bit Bluetooth UUID.
init()
import Bluetooth
Pure Swift Bluetooth Definitions.
@frozen enum BluetoothUUID
Bluetooth UUID
init?(_ string: String)
init?<Data>(data: Data) where Data : DataContainer
init?(rawValue: String)
Initialize from a UUID string (in big endian representation).
init(uuid: UUID)
Initialize from a Foundation.UUID
.
var bit128: BluetoothUUID { get }
Forceably convert BluetoothUUID
to UInt128
value.
var byteSwapped: BluetoothUUID { get }
A representation of this Bluetooth UUID with the byte order swapped.
var dataLength: Int { get }
var description: String { get }
var metadata: BluetoothMetadata.BluetoothUUID? { get }
Fetch the metadata for the UUID.
var rawValue: String { get }
static func == (lhs: BluetoothUUID, rhs: BluetoothUUID) -> Bool
func append<Data>(to data: inout Data) where Data : DataContainer
enum Characteristic
enum Declaration
enum Descriptor
enum Member
enum Service