Package com.batch.android
Class BatchPushRegistration
java.lang.Object
com.batch.android.BatchPushRegistration
Class holding the push registration information.
-
Constructor Summary
ConstructorDescriptionBatchPushRegistration
(String provider, String registrationID, String senderID, String gcpProjectID) -
Method Summary
Modifier and TypeMethodDescriptionThe GCP Project ID.Get the Push registration provider.The Sender ID of the provider, or equivalent.getToken()
Get the registration Push Token (also known as registration id).
-
Constructor Details
-
BatchPushRegistration
-
-
Method Details
-
getProvider
Get the Push registration provider. Might be FCM-Token or HMS.- Returns:
- The Push registration provider. Might be FCM-Token or HMS.
-
getToken
Get the registration Push Token (also known as registration id).- Returns:
- The Push Token.
-
getSenderID
The Sender ID of the provider, or equivalent. Also known as the GCP Project Number. For example: "8122930293"- Returns:
- The Sender ID of the provider or null.
-
getGcpProjectID
The GCP Project ID. For example "batch_sample". Not to be confused with Sender ID, which is the Project Number. (FCM only)- Returns:
- he GCP Project ID or null.
-