SASBannerView

This class displays ads in banner format.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
Creates a SASBannerView instance with the specified parameters
constructor(@NonNull context: Context, @Nullable attributeSet: AttributeSet)
Creates a SASBannerView instance with the specified parameters

Types

Link copied to clipboard
interface BannerListener
Interface definition for Objects that will listen and react to SASBannerView lifecycle events

Properties

Functions

Link copied to clipboard
Returns the SASFormatType expected by this SASAdView
Link copied to clipboard
open fun installLoaderView(@Nullable loaderView: View)
Installs the specified loader view in the application.
Link copied to clipboard
open fun removeLoaderView(@Nullable loaderView: View)
Removes the specified loader view from the application.
Link copied to clipboard
open fun setParallaxMarginBottom(parallaxMarginBottom: Int)
Sets the margin from the top of the navigation bar (or the bottom of the screen in fullscreen mode) representing the bottom limit of the parallax zone.
Link copied to clipboard
open fun setParallaxMarginTop(parallaxMarginTop: Int)
Sets the margin from the bottom of the status bar (or the top of the screen in fullscreen mode) representing the top limit of the parallax zone.
Link copied to clipboard
open fun setParallaxOffset(parallaxOffset: Int)
Manual parallax offset that will override the automatically computed parallax offset.
Link copied to clipboard
open fun setRefreshInterval(refreshInterval: Int)
Starts or stops the auto refresh of ads on this SASBannerView by setting the refresh interval in seconds.