| Package | com.adobe.mediacore.timeline.advertising |
| Class | public class AdBannerAsset |
| Inheritance | AdBannerAsset AdAsset Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | adClick : AdClick [read-only] | AdAsset | |
| bannerData : String [read-only]
Returns html code or iframe url depending on the resourceType
| AdBannerAsset | ||
![]() | duration : Number [read-only] | AdAsset | |
| height : int [read-only]
Returns the height of the banner
| AdBannerAsset | ||
![]() | id : String [read-only] | AdAsset | |
![]() | metadata : Metadata [read-only] | AdAsset | |
![]() | resource : MediaResource [read-only] | AdAsset | |
| resourceType : String [read-only]
Returns the banner resource type : STATIC_URL, IFRAME_URL or HTML
| AdBannerAsset | ||
| staticUrl : String [read-only]
Returns the static url for this banner if available. | AdBannerAsset | ||
| width : int [read-only]
Returns the width of the banner
| AdBannerAsset | ||
| Method | Defined By | ||
|---|---|---|---|
AdBannerAsset(id:String, duration:Number, resource:MediaResource, resourceType:String, width:int, height:int, staticUrl:String = null, adClick:AdClick = null, metadata:Metadata = null)
AdBannerAsset constructor
| AdBannerAsset | ||
create(id:String, duration:Number, resource:MediaResource, resourceType:String, width:int, height:int, staticUrl:String = null, adClick:AdClick = null, metadata:Metadata = null):AdBannerAsset [static]
Returns a new instance of AdBannerAsset. | AdBannerAsset | ||
| Constant | Defined By | ||
|---|---|---|---|
| HTML : String = html [static]
A companion banner of type html. | AdBannerAsset | ||
| IFRAME_URL : String = iframe [static]
A companion banner with a url source for an iframe. | AdBannerAsset | ||
| STATIC_URL : String = static [static]
A companion banner with a url to a static file, such as an image or SWF file. | AdBannerAsset | ||
| bannerData | property |
bannerData:String [read-only] Returns html code or iframe url depending on the resourceType
public function get bannerData():String| height | property |
height:int [read-only] Returns the height of the banner
public function get height():int| resourceType | property |
resourceType:String [read-only] Returns the banner resource type : STATIC_URL, IFRAME_URL or HTML
public function get resourceType():String| staticUrl | property |
staticUrl:String [read-only] Returns the static url for this banner if available.
public function get staticUrl():String| width | property |
width:int [read-only] Returns the width of the banner
public function get width():int| AdBannerAsset | () | Constructor |
public function AdBannerAsset(id:String, duration:Number, resource:MediaResource, resourceType:String, width:int, height:int, staticUrl:String = null, adClick:AdClick = null, metadata:Metadata = null)AdBannerAsset constructor
Parametersid:String | |
duration:Number | |
resource:MediaResource | |
resourceType:String | |
width:int | |
height:int | |
staticUrl:String (default = null) | |
adClick:AdClick (default = null) | |
metadata:Metadata (default = null) |
| create | () | method |
public static function create(id:String, duration:Number, resource:MediaResource, resourceType:String, width:int, height:int, staticUrl:String = null, adClick:AdClick = null, metadata:Metadata = null):AdBannerAssetReturns a new instance of AdBannerAsset.
Parameters
id:String | |
duration:Number | |
resource:MediaResource | |
resourceType:String | |
width:int | |
height:int | |
staticUrl:String (default = null) | |
adClick:AdClick (default = null) | |
metadata:Metadata (default = null) |
AdBannerAsset — new instance of AdBannerAsset.
|
| HTML | Constant |
public static const HTML:String = htmlA companion banner of type html.
| IFRAME_URL | Constant |
public static const IFRAME_URL:String = iframeA companion banner with a url source for an iframe.
| STATIC_URL | Constant |
public static const STATIC_URL:String = staticA companion banner with a url to a static file, such as an image or SWF file.