Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines the structure of the notification object that'll be used by the device to start a momentary foreground service, once a verification signal is detected.

Hierarchy

  • OkHiNotification

Index

Properties

channelDescription

channelDescription: string

(Android): The notification's channel's description. See: https://developer.android.com/training/notify-user/channels

channelId

channelId: string

(Android): The notification's channel id. See: https://developer.android.com/training/notify-user/channels

channelName

channelName: string

(Android): The notification's channel's name. See: https://developer.android.com/training/notify-user/channels

Optional icon

icon: undefined | number

(Android): The notification's resource icon id. See: https://developer.android.com/training/notify-user/channels

Optional importance

importance: undefined | number

(Android): The notification's channel's importance. See: https://developer.android.com/reference/android/app/NotificationManager

Optional notificationId

notificationId: undefined | number

(Android): The notification's id that'll be used to update any running notification See: https://developer.android.com/reference/androidx/core/app/NotificationManagerCompat#notify(int,%20android.app.Notification)

Optional notificationRequestCode

notificationRequestCode: undefined | number

(Android): The notification's request code that'll be used in the pending intent

text

text: string

The body copy of the notification

title

title: string

The title of the notification

Legend

  • Property

Generated using TypeDoc