Skip to main content

getManufacturerAndProduct

FitFileViewer - API Documentation v30.0.1


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

Function: getManufacturerAndProduct()

getManufacturerAndProduct(manufacturerId: IdLike, productId?: IdLike | null): ManufacturerAndProduct

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

Gets both manufacturer and product names from IDs.

Parameters​

manufacturerId​

IdLike

Manufacturer ID.

productId?​

IdLike | null

Product ID, or null to skip product lookup.

Returns​

ManufacturerAndProduct

Object with manufacturerName and productName.