Skip to main content

getManufacturerAndProduct

FitFileViewer - API Documentation v29.9.0


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

Function: getManufacturerAndProduct()

getManufacturerAndProduct(manufacturerId: string | number, productId?: string | number | null): Object

Defined in: utils/formatting/display/formatAntNames.js:17

Get both manufacturer and product names from IDs

Parameters​

manufacturerId​

Manufacturer ID

string | number

productId?​

Product ID (optional)

string | number | null

Returns​

Object

Object with manufacturerName and productName