Skip to main content

Interface: NavDataBarFieldTypeModelFactory<T>

A factory which creates data models for a single type of navigation data bar field.

Type parameters

NameType
Textends NavDataFieldType

Implemented by

Methods

create

create(gpsValidity): NavDataBarFieldTypeModelMap[T]

Creates a navigation data bar field data model for this factory's data field type.

Parameters

NameTypeDescription
gpsValiditySubscribable<NavDataFieldGpsValidity>The subscribable that provides the validity of the GPS data for the models.

Returns

NavDataBarFieldTypeModelMap[T]

A navigation data bar field data model for this factory's data field type.

Defined in

src/garminsdk/components/navdatabar/NavDataBarFieldModel.ts:50