ICInAppNotificationManager

This class provides interface to display the obtained message data in ICInAppNotificationViewBinder instances. Also provides interface to register notificationView callback for listening to the Notification view events like display, action and dismiss.

getInstance

Returns the ICInAppNotificationManager singleton instance, creating it if necessary.

Syntax: public static ICInAppNotificationManager getInstance(android.app.Application application)

Parameters: application -

Returns: Returns the ICInAppNotificationManager singleton instance.

setEnabled

This method enables InAppNotification display. By default InAppNotification display will be disabled.

Syntax: public void setEnabled(boolean enabled)

Parameters:
enabled - True if InAppNotification display should be enabled otherwise false.

registerListener

Registers an ICInAppNotificationCallback that will be notified when InAppNotification displayed, action click and dismissed.

Syntax: public void registerListener(ICInAppNotificationCallback callback)

Parameters:
callback - InAppNotification callback

unregisterListener

Unregisters a previously registered ICInAppNotificationCallback instance. The instance will no longer receive InAppNotification display, action and dismiss events.

Syntax: public void unregisterListener(ICInAppNotificationCallback callback)

Parameters:
callback - InAppNotification callback

registerViewFactory

This method register InAppNotification binder factories to be handled by this InAppNotificationManager.

Syntax: public void registerViewFactory(ICInAppNotificationViewBinderFactory factory)

Parameters:
factory - Array of InAppNotification binder factories to be registered

unregisterViewFactory

This method unregister partView factories for this InAppNotificationManager

Syntax: public void unregisterViewFactory(ICInAppNotificationViewBinderFactory factory)

Parameters:
factory - Array of InAppNotification binder factories to be Unregistered