StateChangeEvent

open class StateChangeEvent

Event fired by the SASAdView when its states changes.

Properties

Link copied to clipboard
open val type: Int
Link copied to clipboard
val VIEW_DEFAULT: Int = 1
The type of the StateChangeEvent fired when the target SASAdView was collapsed.
Link copied to clipboard
The type of the StateChangeEvent fired when the target SASAdView was expanded.
Link copied to clipboard
val VIEW_HIDDEN: Int = 2
The type of the StateChangeEvent fired when the target SASAdView was closed.
Link copied to clipboard
val VIEW_RESIZED: Int = 3
The type of the StateChangeEvent fired when the target SASAdView was resized (MRAID 2.0 specs).

Functions

Link copied to clipboard
Returns the SASAdView that fired this StateChangeEvent