Skip to main content

getProductName

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/formatting/display/formatAntNames / getProductName

Function: getProductName()

getProductName(manufacturerId: unknown, productId: unknown): unknown

Defined in: utils/formatting/display/formatAntNames.ts:108

Gets product name from manufacturer ID and product ID.

Unknown values preserve the original product ID for legacy display behavior.

Parameters​

manufacturerId​

unknown

Manufacturer ID.

productId​

unknown

Product ID.

Returns​

unknown

Product name, or the original product ID if not found.