Home > @magiclane/maps-sdk > AutoUpdateSettings
AutoUpdateSettings class
Configuration for auto update
Core
Signature:
export declare class AutoUpdateSettings Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructor for initializing the auto-update settings with default values. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
boolean |
Whether the update for the car models is enabled | |
|
|
boolean |
Whether the update for the computer voices is enabled | |
|
|
boolean |
Whether the update for the human voices is enabled | |
|
|
boolean |
Whether the update for the resources (icons, translations) is enabled | |
|
|
boolean |
Whether the update for the road maps is enabled | |
|
|
boolean |
Whether the update for the map styles high resolution is enabled | |
|
|
boolean |
Whether the update for the map styles low resolution is enabled | |
|
|
(type: ContentType, error: GemError) => void |
(Optional) Callback to be called when an auto update is completed Provides the content type and the error code |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Factory method to create an instance where all update options are disabled. | |
|
|
Factory method to create an instance where all update options are enabled. | |
|
Determines if updates are allowed for a given content type. Returns |