android-components / mozilla.components.feature.push / PushConfig

PushConfig

data class PushConfig (source)

Configuration object for initializing the Push Manager with an AutoPush server.

Parameters

senderId - The project identifier set by the server. Contact your server ops team to know what value to set.

serverHost - The sync server address.

protocol - The socket protocol to use when communicating with the server.

serviceType - The push services that the AutoPush server supports.

Constructors

Name Summary
<init> PushConfig(senderId: String, serverHost: String = "updates.push.services.mozilla.com", protocol: Protocol = Protocol.HTTPS, serviceType: ServiceType = ServiceType.FCM)
Configuration object for initializing the Push Manager with an AutoPush server.

Properties

Name Summary
protocol val protocol: Protocol
The socket protocol to use when communicating with the server.
senderId val senderId: String
The project identifier set by the server. Contact your server ops team to know what value to set.
serverHost val serverHost: String
The sync server address.
serviceType val serviceType: ServiceType
The push services that the AutoPush server supports.