CloseTabsResult

sealed class CloseTabsResult

The result of invoking a "close tabs" command.

If `FirefoxAccount::close_tabs` is called with more URLs than can fit into a single command payload, the URLs will be chunked and sent in multiple commands.

Chunking breaks the atomicity of a "close tabs" command, but reduces the number of these commands that FxA sends to other devices. This is critical for platforms like iOS, where every command triggers a push message that must show a user-visible notification.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

All URLs passed to `FirefoxAccount::close_tabs` were chunked and sent in one or more device commands.

Link copied to clipboard
data class TabsNotClosed(val urls: List<String>) : CloseTabsResult

One or more URLs passed to `FirefoxAccount::close_tabs` couldn't be sent in a device command. The caller can assume that: