focusIdLabel
Debug label for a focus identity, for use in log output only
Available since @roku-sdk/navigation 2.19.0
import { focusIdLabel } from "@roku-sdk/navigation";focusIdLabel(focusId: object | null | undefined): stringDeprecated.
Test hook that was never meant to be public. It will be removed from the public exports in the next major release.
Description
Debug label for a focus identity, for use in log output only.
Returns the id when present, otherwise a stable placeholder. Never throws and never reads through to anything the registry depends on.
Parameters
| Name | Type | Description |
|---|---|---|
focusId | object | null | undefined | The focus identity to describe, or no identity. |
Return values
The identity's id, or a placeholder when it has none.
Updated about 4 hours ago
What’s Next
Did this page help you?