AccountEvent

sealed class AccountEvent

An event that happened on the user's account.

If the application has registered a `DevicePushSubscription` as part of its device record, then the Firefox Accounts server can send push notifications about important events that happen on the user's account. This enum represents the different kinds of event that can occur.

Inheritors

Types

Link copied to clipboard

Sent when when there has been a change in authorization status.

Link copied to clipboard

Sent when the user deletes their Firefox Account.

Link copied to clipboard

Sent when another device has invoked a command for this device to execute.

Link copied to clipboard
object Companion
Link copied to clipboard
data class DeviceConnected(val deviceName: String) : AccountEvent

Sent when a new device connects to the user's account.

Link copied to clipboard
data class DeviceDisconnected(val deviceId: String, val isLocalDevice: Boolean) : AccountEvent

Sent when a device disconnects from the user's account.

Link copied to clipboard

Sent when the user has modified their account profile information.

Link copied to clipboard

An unknown event, most likely an event the client doesn't support yet.