Interface PushRegistrationProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void checkLibraryAvailability()
      Is this provider implemented in the app? This is the place to check if the libraries are here at runtime and if the user enabled/disabled your provider.
      void checkServiceAvailability()
      Is this provider installed on the device? This is the place to check if the service is installed on the device and if its version match the feature we need.
      AdsIdentifierProvider getAdsIdentifierProvider()
      Return the ads identifier provider associated with the push registration provider
      java.lang.String getRegistration()
      Returns the registration if possible.
      java.lang.String getSenderID()
      Returns the Sender ID of the provider, or equivalent.
      java.lang.String getShortname()
      Returns the short name of the provider.
    • Method Detail

      • getSenderID

        java.lang.String getSenderID()
        Returns the Sender ID of the provider, or equivalent. For example: "8122930293"
      • getShortname

        java.lang.String getShortname()
        Returns the short name of the provider. For example: "FCM".
      • getRegistration

        @Nullable
        java.lang.String getRegistration()
        Returns the registration if possible. Some providers might not have it right away. Return null in these cases.
      • getAdsIdentifierProvider

        AdsIdentifierProvider getAdsIdentifierProvider()
        Return the ads identifier provider associated with the push registration provider
        Returns: