SettingsStateManager
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / shared/fitParser / SettingsStateManager
Interface: SettingsStateManager
Defined in: shared/fitParser.ts:13
Settings adapter surface consumed by the FIT parser.
Propertiesβ
getCategoryβ
getCategory: (
category:string) =>Partial<DecoderOptions> |null|undefined
Defined in: shared/fitParser.ts:14
Parametersβ
categoryβ
string
Returnsβ
Partial<DecoderOptions> | null | undefined
updateCategoryβ
updateCategory: (
category:string,value:Partial<DecoderOptions>,opts?: {silent?:boolean;source?:string; }) =>unknown
Defined in: shared/fitParser.ts:21
Persist a category synchronously; async adapters are rejected by the parser.
Parametersβ
categoryβ
string
valueβ
Partial<DecoderOptions>
opts?β
silent?β
boolean
source?β
string
Returnsβ
unknown