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

PushType

enum class PushType (source)

The different kind of message types that a EncryptedPushMessage can be:

  • Application Services (e.g. FxA/Send Tab)
  • WebPush messages (see: https://www.w3.org/TR/push-api/)

Enum Values

Name Summary
Services  
WebPush  

Functions

Name Summary
toChannelId fun toChannelId(): String
Retrieve a channel ID from the PushType.

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.