Interface RegistrationIdHandler
public interface RegistrationIdHandler
Firebase Cloud Messaging利用時、
レスポンスにてregistrationIdのリフレッシュ、削除が通知された場合に処理を行う場合のハンドラです。
RegistrationIdHandlerは、設定ファイルのFCMPushNotificationServiceに設定します。
-
Method Summary
Modifier and Type Method Description voidrefreshRegistrationId(java.lang.String currentId, java.lang.String newId)currentIdで示される登録トークンの正規の登録トークンをnewIdで通知します。voidremoveRegistrationId(java.lang.String registrationId)registrationIdで指定される登録トークンは無効であることを通知します。 ユーザーの端末から、アプリケーションがアンインストールされた場合などに、通知されます。
-
Method Details
-
refreshRegistrationId
void refreshRegistrationId(java.lang.String currentId, java.lang.String newId)currentIdで示される登録トークンの正規の登録トークンをnewIdで通知します。- Parameters:
currentId- 現在の登録トークンnewId- 正規の新規の登録トークン
-
removeRegistrationId
void removeRegistrationId(java.lang.String registrationId)registrationIdで指定される登録トークンは無効であることを通知します。 ユーザーの端末から、アプリケーションがアンインストールされた場合などに、通知されます。- Parameters:
registrationId-
-