Home > @magiclane/maps-sdk > AutoUpdateSettings > isUpdateAllowedForType

AutoUpdateSettings.isUpdateAllowedForType() method

Determines if updates are allowed for a given content type. Returns true if the content type is enabled for auto-update, otherwise returns false.

Signature:

isUpdateAllowedForType(type: ContentType): boolean;

Parameters

Parameter

Type

Description

type

ContentType

Returns:

boolean