android-components / mozilla.components.concept.sync / DevicePushSubscription

DevicePushSubscription

data class DevicePushSubscription (source)

Describes an Autopush-compatible push channel subscription.

Constructors

Name Summary
<init> DevicePushSubscription(endpoint: String, publicKey: String, authKey: String)
Describes an Autopush-compatible push channel subscription.

Properties

Name Summary
authKey val authKey: String
endpoint val endpoint: String
publicKey val publicKey: String

Extension Functions

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