ServiceName

@Serializable(with = ServiceNameSerializer::class)
sealed interface ServiceName

The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = ServiceNameSerializer::class)
data object backgroundFetch : ServiceName
Link copied to clipboard
@Serializable(with = ServiceNameSerializer::class)
data object backgroundSync : ServiceName
Link copied to clipboard
@Serializable(with = ServiceNameSerializer::class)
data class NotDefinedInProtocol(val value: String) : ServiceName

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).

Link copied to clipboard
@Serializable(with = ServiceNameSerializer::class)
data object notifications : ServiceName
Link copied to clipboard
@Serializable(with = ServiceNameSerializer::class)
data object paymentHandler : ServiceName
Link copied to clipboard
@Serializable(with = ServiceNameSerializer::class)
data object periodicBackgroundSync : ServiceName
Link copied to clipboard
@Serializable(with = ServiceNameSerializer::class)
data object pushMessaging : ServiceName