Interface MAMNotificationReceiverRegistry
-
- All Implemented Interfaces:
public interface MAMNotificationReceiverRegistryInterface to register
MAMNotificationReceivers.
-
-
Method Summary
Modifier and Type Method Description abstract voidregisterReceiver(@NonNull() MAMNotificationReceiver receiver, @NonNull() MAMNotificationType handledType)Register a notification receiver. abstract voidunregisterReceiver(@NonNull() MAMNotificationReceiver receiver, @NonNull() MAMNotificationType handledType)Unregister a notification receiver. -
-
Method Detail
-
registerReceiver
abstract void registerReceiver(@NonNull() MAMNotificationReceiver receiver, @NonNull() MAMNotificationType handledType)
Register a notification receiver. If no receivers have been registered, the default receiver will be used if it exists.
- Parameters:
receiver- Receiver to register.handledType- The type of notification this receiver handles.
-
unregisterReceiver
abstract void unregisterReceiver(@NonNull() MAMNotificationReceiver receiver, @NonNull() MAMNotificationType handledType)
Unregister a notification receiver.
- Parameters:
receiver- Receiver to unregister.handledType- The type of notification this receiver handles.
-
-
-
-