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

AutoPushSubscription

data class AutoPushSubscription (source)

The subscription information from AutoPush that can be used to send push messages to other devices.

Constructors

Name Summary
<init> AutoPushSubscription(scope: PushScope, endpoint: String, publicKey: String, authKey: String, appServerKey: String?)
The subscription information from AutoPush that can be used to send push messages to other devices.

Properties

Name Summary
appServerKey val appServerKey: String?
authKey val authKey: String
endpoint val endpoint: String
publicKey val publicKey: String
scope val scope: PushScope

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.