Register Push Notification
data class RegisterPushNotification(appId: String, fcmToken: String, platform: String) : Parcelable
Content copied to clipboard
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")
Content copied to clipboard
A string in the format "{stage|prod}.FCM.{brand}.HealthConnect".