getId

abstract suspend fun getId(deviceId: String): String

Retrieves the current connection pool ID for the specified device.

Return

The 4-character hexadecimal connection pool ID.

Parameters

deviceId

The identifier of the target device.


abstract fun getId(deviceId: String, callback: (Result<String>) -> Unit)

Callback-based version of getId for Java interoperability.

Parameters

deviceId

The identifier of the target device.

callback

Callback to receive the connection pool ID as a String.