Home > @magiclane/maps-sdk > AutoUpdateSettings > (constructor)

AutoUpdateSettings.(constructor)

Constructor for initializing the auto-update settings with default values.

Signature:

constructor(input?: {
        isAutoUpdateForRoadMapEnabled?: boolean;
        isAutoUpdateForViewStyleHighResEnabled?: boolean;
        isAutoUpdateForViewStyleLowResEnabled?: boolean;
        isAutoUpdateForHumanVoiceEnabled?: boolean;
        isAutoUpdateForComputerVoiceEnabled?: boolean;
        isAutoUpdateForCarModelEnabled?: boolean;
        isAutoUpdateForResourcesEnabled?: boolean;
        onAutoUpdateComplete?: (type: ContentType, error: GemError) => void;
    });

Parameters

Parameter

Type

Description

{ isAutoUpdateForRoadMapEnabled, isAutoUpdateForViewStyleHighResEnabled, isAutoUpdateForViewStyleLowResEnabled, isAutoUpdateForHumanVoiceEnabled, isAutoUpdateForComputerVoiceEnabled, isAutoUpdateForCarModelEnabled, isAutoUpdateForResourcesEnabled, onAutoUpdateComplete, }

(not declared)

(Optional)

input

{ isAutoUpdateForRoadMapEnabled?: boolean; isAutoUpdateForViewStyleHighResEnabled?: boolean; isAutoUpdateForViewStyleLowResEnabled?: boolean; isAutoUpdateForHumanVoiceEnabled?: boolean; isAutoUpdateForComputerVoiceEnabled?: boolean; isAutoUpdateForCarModelEnabled?: boolean; isAutoUpdateForResourcesEnabled?: boolean; onAutoUpdateComplete?: (type: ContentType, error: GemError) => void; }

(Optional)

input properties:

  • Optional isAutoUpdateForRoadMapEnabled?: boolean
  • Optional isAutoUpdateForViewStyleHighResEnabled?: boolean
  • Optional isAutoUpdateForViewStyleLowResEnabled?: boolean
  • Optional isAutoUpdateForHumanVoiceEnabled?: boolean
  • Optional isAutoUpdateForComputerVoiceEnabled?: boolean
  • Optional isAutoUpdateForCarModelEnabled?: boolean
  • Optional isAutoUpdateForResourcesEnabled?: boolean
  • Optional onAutoUpdateComplete?: (type: ContentType, error: GemError) => void