Home > @magiclane/maps-sdk > ContentUpdaterStatus

ContentUpdaterStatus enum

Enumerates the possible statuses for a content updater operation.

Content

Signature:

export declare enum ContentUpdaterStatus 

Enumeration Members

Member

Value

Description

checkForUpdate

3

Checking for updated items.

complete

9

Finished with success.

This state will be returned by convention; the user will also receive a progress-complete notification.

download

4

Downloading updated content.

downloadPendingContent

8

Downloading pending content.

If a new item starts downloading during an update, it will complete after the update finishes and the status will be set to this value.

downloadRemainingContent

7

Downloading remaining content after applying the update.

Finishes downloading the remaining content after applying the update while the status was partiallyReady.

error

10

Finished with error.

This state will be returned by convention; the user will also receive a progress-complete notification with more error details.

fullyReady

5

Update is fully downloaded and ready to apply.

When entering this state, the updater's items list will return the target items to update.

idle

0

Not started.

partiallyReady

6

Update is partially downloaded and ready to apply.

waitConnection

1

Waiting for an internet connection.

waitWIFIConnection

2

Waiting for a Wi-Fi internet connection.