Interface MAMNotificationReceiver

  • All Implemented Interfaces:

    
    public interface MAMNotificationReceiver
    
                        

    Allows receiving notifications of MAM events.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean onReceive(@NonNull() MAMNotification notification) A notification was received.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onReceive

         abstract boolean onReceive(@NonNull() MAMNotification notification)

        A notification was received.

        Parameters:
        notification - The notification that was received.
        Returns:

        The receiver should return true if it handled the notification without error (or if it decided to ignore the notification). If the receiver tried to take some action in response to the notification but failed to complete that action it should return false.