Defines the properties and behavior of a collapsible banner. More...
Public Member Functions | |
| bool | IsCollapsibleBannerTypeAvailable (AdPosition adPosition, out string position) |
| Determines if a specific ad position supports being collapsible and returns the position as a string if available. | |
Public Attributes | |
| bool | Enabled = false |
| Enables or disables the collapsible banner. When set to true, the banner can be expanded or collapsed based on user interaction or other conditions. | |
| bool | AdsRefreshingBehaviourEnabled = false |
| Indicates whether the ads refreshing behavior is enabled for the collapsible banner. When set to true, the banner will handle refresh logic that may involve changing ad content at specified intervals. Ads refreshing behavior documentation. | |
Static Public Attributes | |
| const string | CollapsibleExtraKey = "collapsible" |
| Defines the key for specifying the alignment of an expanded ad relative to the collapsible banner. This key is used in ad request configurations to align either the top or the bottom of the expanded ad with the corresponding top or bottom of the collapsible banner view. Example usage: | |
| const string | CollapsibleRefreshExtraKey = "collapsible_request_id" |
| Represents the key used for identifying a unique request ID for refreshable collapsible banner ads. This key is used to differentiate the initial ad request from subsequent refresh requests. | |
Defines the properties and behavior of a collapsible banner.
Definition at line 11 of file CollapsibleBanner.cs.