Class BatchPushRegistration

java.lang.Object
com.batch.android.BatchPushRegistration

public class BatchPushRegistration extends Object
Class holding the push registration information.
  • Constructor Details

    • BatchPushRegistration

      public BatchPushRegistration(String provider, String registrationID, String senderID, String gcpProjectID)
  • Method Details

    • getProvider

      public String getProvider()
      Get the Push registration provider. Might be FCM-Token or HMS.
      Returns:
      The Push registration provider. Might be FCM-Token or HMS.
    • getToken

      public String getToken()
      Get the registration Push Token (also known as registration id).
      Returns:
      The Push Token.
    • getSenderID

      public String 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

      public String 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.