| com.mapsted.inapp_notification.InAppNotificationsApi |
Known Indirect Subclasses
|
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | InAppNotificationsApi.Listener | interface for listening to interaction with in-app-notification widget | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean |
addViewAndClickListener(InAppNotificationsApi.Listener listener)
Register a callback whenever an item is viewed or clicked from in-app notification bar
| ||||||||||
| abstract FragmentManager |
getFragmentManager()
Retrieve the fragment manager
| ||||||||||
| abstract void |
removeFromInAppNotificationBar(String id)
Remove an item from the widget
| ||||||||||
| abstract boolean |
removeViewAndClickListener(InAppNotificationsApi.Listener listener)
Unregister a callback whenever an item is viewed or clicked from in-app notification bar
| ||||||||||
| abstract void |
showInInAppNotificationBar(InAppNotification inAppNotification, boolean showInFront)
show provided item in the widget
| ||||||||||
Register a callback whenever an item is viewed or clicked from in-app notification bar
| listener | the listener |
|---|
Retrieve the fragment manager
Remove an item from the widget
| id | id of the inapp notification. getId()
|
|---|
Unregister a callback whenever an item is viewed or clicked from in-app notification bar
| listener | the listener |
|---|
show provided item in the widget
| inAppNotification | item to show |
|---|---|
| showInFront | by default, item are placed in the end. set this to true if you want the item to be shown in the front. |