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.Object or Null) as Lang.Boolean

Compares the Uuid to another object for equality

Parameters:

  • other(Lang.Object)

    The Object to test against

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 23, 2024, 3:32:48 PM