Interface: NavReferenceSources<SourceName>
Defined in: src/garminsdk/navreference/source/NavReferenceSource.ts:26
A collection of NavReferenceSources.
Type Parameters
| Type Parameter | Description |
|---|---|
SourceName extends string | The names of the navigation reference sources supported by the collection. |
Methods
get()
get(
name):NavReferenceSource<SourceName>
Defined in: src/garminsdk/navreference/source/NavReferenceSource.ts:33
Gets a navigation reference source with a given name.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | SourceName | The name of the source to get. |
Returns
NavReferenceSource<SourceName>
The specified navigation reference source.
Throws
Error if a source with the specified name could not be found.