RegisterPushNotification

data class RegisterPushNotification(appId: String, fcmToken: String, platform: String) : Parcelable

A model containing information required to register an android device to receive push notifications. Only used in virtual.

Parameters

appId

A string in the format "{stage|prod}.FCM.{brand}.HealthConnect". {brand} should be the full length tenant name, e.g. "providence", "swedish", "froedtert"

fcmToken

The FCM token as provided by the FirebaseInstanceId SDK.

platform

The device operating system platform. It should always be "android" for an Android app, and is defaulted as such.

Constructors

RegisterPushNotification
Link copied to clipboard
fun RegisterPushNotification(appId: String, fcmToken: String, platform: String = "android")
A string in the format "{stage|prod}.FCM.{brand}.HealthConnect".

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

appId
Link copied to clipboard
val appId: String
A string in the format "{stage|prod}.FCM.{brand}.HealthConnect".
fcmToken
Link copied to clipboard
val fcmToken: String
The FCM token as provided by the FirebaseInstanceId SDK.
platform
Link copied to clipboard
val platform: String
The device operating system platform.