SASNative Video Ad Element
This class represents a native video ad element
Constructors
Link copied to clipboard
constructor()
Default constructor
constructor(@NonNull nativeVideoJSON: JSONObject, timeout: Long, @Nullable remoteLoggerManager: SASRemoteLoggerManager)
Constructs a SASNativeVideoAdElement from the specified JSONObject
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Returns the AdParameters string of the VAST Ad of this SASNativeVideoAdElement
Link copied to clipboard
Returns a list of ad verification scripts
Link copied to clipboard
Gets the audio mode policy when playing the video ad
Link copied to clipboard
Returns the companion click tracking url if available
Link copied to clipboard
Returns the companion click url if available
Link copied to clipboard
Gets the background color of the video layer
Link copied to clipboard
Gets the URL of the background image to use for the video.
Link copied to clipboard
Gets the resize policy for the background image
Link copied to clipboard
Returns the downscale factor when computing blurred background image for high end devices
Link copied to clipboard
Returns the downscale factor when computing blurred background image for low end devices
Link copied to clipboard
Returns the blur radius parameter used for the dynamic background
Link copied to clipboard
Returns the custom text for call to action of this SASNativeVideoAdElement
Link copied to clipboard
Returns the type of the click URL, either a website, a video, or an application
Link copied to clipboard
Returns the background impression url if available
Link copied to clipboard
Overriden to add extra info
Link copied to clipboard
Link copied to clipboard
Returns the post video html ad if any
Link copied to clipboard
Returns the media duration.
Link copied to clipboard
Returns the height of the current media, or -1 if not available
Link copied to clipboard
Returns the width of the current media, or -1 if not available
Link copied to clipboard
Returns the time within the video where to extract a frame to use as a poster image.
Link copied to clipboard
Returns the URL of the poster image to use for the video.
Link copied to clipboard
Returns the String representing the time offset from the beginning of the video when the progress tracking URL must be fired.
Link copied to clipboard
Link copied to clipboard
Returns the skip button policy
Link copied to clipboard
Returns the Color of the tint layer
Link copied to clipboard
Returns the opacity (between 0 and 100, 100 being fully opaque) of the tint layer
Link copied to clipboard
Returns the VASTLoadingTime, or -1 if no VAST downloaded.
Link copied to clipboard
debug string continaing info pertaining to this video
Link copied to clipboard
Create an ArrayList of SASVideoTrackingEvent (as SCSTrackingEvent) based on mEventTrackingURLMap.
Link copied to clipboard
Returns the URL of the video of this SASNativeVideoAdElement
Link copied to clipboard
Gets the video vertical position
Link copied to clipboard
Returns the URL of the VPAID Ad of this SASNativeVideoAdElement
Link copied to clipboard
Returns whether the ad should close when video ends
Link copied to clipboard
Returns whether the video should start playing as soon as it is ready to play.
Link copied to clipboard
Returns whether this video redirects on first click in Video-Read format
Link copied to clipboard
Returns whether the video should restart from the beginning when entering fullscreen for the first time.
Link copied to clipboard
Returns whether this video can enter into stick on top mode (i.e.
Link copied to clipboard
Returns whether the stick to top mode can be dismissed (when the video is in this mode)
Link copied to clipboard
Returns whether the video will plackback till its end no matter the viewability of the ad
Link copied to clipboard
Returns whether this video is in 360 wide format.
Link copied to clipboard
Sets the audio mode policy when playing the video ad
Link copied to clipboard
Sets whether the ad should close when video ends
Link copied to clipboard
Sets whether the video should start playing as soon as it is ready to play.
Link copied to clipboard
Sets the background color of the video layer
Link copied to clipboard
Sets the URL of the background image to use for the video.
Link copied to clipboard
Sets the resize policy for the background image
Link copied to clipboard
Sets the blur radius parameter used for the dynamic background
Link copied to clipboard
Sets the custom text for call to action to use for the call to action button if action type is set to custom.
Link copied to clipboard
Sets the type of the click URL, either a website, a video, an application or a custom type
Link copied to clipboard
Sets the click url for this SASAdElement instance According to the work flow, if any VAST Click URL has been found, it will be overriden.
Link copied to clipboard
Sets the tracking URLs for a given event
Link copied to clipboard
Sets the post video html ad
Link copied to clipboard
Sets the media duration.
Link copied to clipboard
Sets the height of the current media, or -1 if not available
Link copied to clipboard
Sets the width of the current media, or -1 if not available
Link copied to clipboard
Sets the time within the video where to extract a frame to use as a poster image.
Link copied to clipboard
Sets the URL of the poster image to use for the video.
Link copied to clipboard
Sets the String representing the time offset from the beginning of the video when the progress tracking URL must be fired.
Link copied to clipboard
Sets whether this video redirects on first click in Video-Read format
Link copied to clipboard
Sets whether the video should restart from the beginning when entering fullscreen for the first time.
Link copied to clipboard
Sets the skip button policy
Link copied to clipboard
Sets whether this video can enter into stick on top mode (i.e.
Link copied to clipboard
Sets whether the stick to top mode can be dismissed (when the video is in this mode)
Link copied to clipboard
Sets the Color of the tint layer
Link copied to clipboard
Sets the opacity (between 0 and 100, 100 being fully opaque) of the tint layer
Link copied to clipboard
Sets whether the video will plackback till its end no matter the viewability of the ad.
Link copied to clipboard
Sets whether this video is in 360 wide format.
Link copied to clipboard
Sets the URL of the video of this SASNativeVideoAdElement
Link copied to clipboard
Sets the video vertical position