Package com.swrve.sdk

Interface SwrveSilentPushListener


  • public interface SwrveSilentPushListener
    Implement this interface to be notified of any Swrve silent push notification to your app.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onSilentPush​(android.content.Context context, org.json.JSONObject payload)
      This method will be called when a silent push notification is received by your app.
    • Method Detail

      • onSilentPush

        void onSilentPush​(android.content.Context context,
                          org.json.JSONObject payload)
        This method will be called when a silent push notification is received by your app.
        Parameters:
        context - The service context
        payload - push notification custom payloads.