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

PushSubscriptionObserver

interface PushSubscriptionObserver (source)

Observers that want to receive updates for new subscriptions.

Functions

Name Summary
onSubscriptionAvailable abstract fun onSubscriptionAvailable(subscription: AutoPushSubscription): Unit

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.