android-components / mozilla.components.support.ktx.android.notification / ChannelData

ChannelData

class ChannelData (source)

Wraps the data of a NotificationChannel as this class is available after API 26.

Constructors

Name Summary
<init> ChannelData(id: String, name: Int, importance: Int)
Wraps the data of a NotificationChannel as this class is available after API 26.

Properties

Name Summary
id val id: String
importance val importance: Int
name val name: Int

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.