MapstedTopbarNotificationApi

Constructors

Link copied to clipboard
constructor(fragmentManager: FragmentManager, defaultContainer: FrameLayout, mapApi: MapApi)

Properties

Link copied to clipboard
open override val notificationContainer: Int

Functions

Link copied to clipboard

Register a listener to handle click and view events for top notifications.

Link copied to clipboard
open override fun getContainerId(): Int?

Retrieve the container id used by the API.

Link copied to clipboard
open override fun getFragmentManager(): FragmentManager

Retrieve the FragmentManager used by the API.

Link copied to clipboard
open override fun getNotificationContainer(): Int
Link copied to clipboard
open override fun initializeTopbarNotifications(defaultContainer: FrameLayout, fragmentManager: FragmentManager)
Link copied to clipboard
open override fun removeFromTopNotificationBar(type: Int)

open override fun removeFromTopNotificationBar(id: String)

Remove a notification from the top notification bar.

Link copied to clipboard

Unregister a listener that was previously added for click and view events.

Link copied to clipboard
fun setContainer(container: FrameLayout)

Registers a new container.

Link copied to clipboard
open override fun showInTopNotificationBar(topNotification: TopbarNotifications)

Show a notification in the top notification bar.

open override fun showInTopNotificationBar(type: Int)