Class: Toybox.BluetoothLowEnergy.Uuid

Overview

Encapsulates a Bluetooth UUID and provides various helper methods for interacting with UUID within the Bluetooth Low Energy Subsystem

Since:

API Level 3.1.0

Instance Method Summary collapse

Instance Method Details

equals(other) as Lang.Boolean

Compares the Uuid to another object for equality

Parameters:

  • other(Lang.Object)

    the other object to compare

Returns:

  • Lang.Boolean

    true if the parameter provided is an equivalent Uuid or equivalent UUID String, false otherwise.

Since:

API Level 3.1.0

Throws:

hashCode() as Lang.Number

Retrieve a hash code of the UUID

Optimized for BLE standard

Since:

API Level 3.1.0

toByteArray() as Lang.ByteArray

Convert UUID to a Little Endian Byte Array

Returns:

Since:

API Level 3.1.0

toString() as Lang.String

Convert a UUID to a String

Returns:

Since:

API Level 3.1.0


Generated Sep 25, 2023 12:31:45 PM