Interface MAMNotificationReceiver
-
- All Implemented Interfaces:
public interface MAMNotificationReceiverAllows receiving notifications of MAM events.
-
-
Method Summary
Modifier and Type Method Description abstract booleanonReceive(@NonNull() MAMNotification notification)A notification was received. -
-
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.
-
-
-
-