RtoasterNotification

RtoasterNotificationのインタフェースとなるクラス

Functions

Link copied to clipboard

Push用のデバイストークンを取得する

Link copied to clipboard

デバイストークン送出間隔を取得する

Link copied to clipboard
fun onMessageReceived(message: RemoteMessage, intent: Intent, defaultIcon: Int)
Link copied to clipboard

プッシュデータ内からカスタムプロパティを読み込む

Link copied to clipboard
@RequiresApi(value = 33)
fun requestNotificationPermission(activity: AppCompatActivity, callback: (isAllowed: Boolean) -> Unit)

通知を表示して良いかの確認ダイアログを表示し、通知する権限を求める

Link copied to clipboard
fun sendPushOpened(message: RemoteMessage?)

プッシュ効果測定(開封)データを追加する

Link copied to clipboard

Push用のデバイストークンを設定する

Link copied to clipboard

通知許諾状態を設定する