com.ibm.mobilefirstplatform.clientsdk.android.push.api

Interface MFPPushNotificationListener



  • public interface MFPPushNotificationListener
    This interface defines the callback method used for receiving the notification from GCM
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void onReceive(MFPSimplePushNotification message)
      This method is called when a notification arrives on the device.
    • Method Detail

      • onReceive

        void onReceive(MFPSimplePushNotification message)
        This method is called when a notification arrives on the device. This method is called from the main activity (UI) thread. Hence any long pending operations from within this method must be done from a separate thread to keep the UI responsive.
        Parameters:
        message - An MFPSimplePushNotification object that contains the data / properties received as part of the notification


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.