AirshipBannerHost
A host container that displays Thomas banners.
Add a single banner host to the app's layout, after applying any window insets, and above any content that banners should overlay. Banners are positioned within the host's bounds, per the banner's placement, so the host should generally be sized to fill the area that banners may be displayed in.
The host must be attached to an Activity that implements androidx.lifecycle.LifecycleOwner (as all ComponentActivity subclasses do), or banner views will fail to be created.
Pending banners are queued until a host is mounted.
Parameters
the modifier to apply to this layout.
A host container that displays Thomas banners, using the provided AirshipBannerHostState.
This composable may be useful when access to the banner host state is needed outside of the AirshipBannerHost composable, and for advanced custom logic that depends on the availability of banner content.
Parameters
the AirshipBannerHostState to be used by this banner host.
the modifier to apply to this layout.