Package | com.distriqt.extension.adverts |
Class | public class AdViewParams |
Inheritance | AdViewParams Object |
Controls settings of the advert, including position, alignment, width and height
The default setting will position the banner at 0,0 using the default smart banner size for the current device
Property | Defined By | ||
---|---|---|---|
height : int
Unimplemented
| AdViewParams | ||
horizontalAlign : String
Horizontal alignment type
| AdViewParams | ||
verticalAlign : String
Vertical alignment type
| AdViewParams | ||
width : int
Unimplemented
| AdViewParams | ||
x : int
Position of the banner ad
Note: Setting an alignment will override setting the x,y coordinate
| AdViewParams | ||
y : int
Position of the banner ad
Note: Setting an alignment will override setting the x,y coordinate
| AdViewParams |
Method | Defined By | ||
---|---|---|---|
Constructor
| AdViewParams | ||
fromObject(data:Object):AdViewParams [static] | AdViewParams | ||
toString():String | AdViewParams |
Constant | Defined By | ||
---|---|---|---|
ALIGN_BOTTOM : String = bottom [static] | AdViewParams | ||
ALIGN_CENTER : String = center [static] | AdViewParams | ||
ALIGN_LEFT : String = left [static] | AdViewParams | ||
ALIGN_NONE : String = none [static] | AdViewParams | ||
ALIGN_RIGHT : String = right [static] | AdViewParams | ||
ALIGN_TOP : String = top [static] | AdViewParams |
height | property |
height:int
Unimplemented
public function get height():int
public function set height(value:int):void
horizontalAlign | property |
horizontalAlign:String
Horizontal alignment type
The default value is ALIGN_NONE
.
public function get horizontalAlign():String
public function set horizontalAlign(value:String):void
verticalAlign | property |
verticalAlign:String
Vertical alignment type
The default value is ALIGN_NONE
.
public function get verticalAlign():String
public function set verticalAlign(value:String):void
width | property |
width:int
Unimplemented
public function get width():int
public function set width(value:int):void
x | property |
x:int
Position of the banner ad
Note: Setting an alignment will override setting the x,y coordinate
public function get x():int
public function set x(value:int):void
y | property |
y:int
Position of the banner ad
Note: Setting an alignment will override setting the x,y coordinate
public function get y():int
public function set y(value:int):void
AdViewParams | () | Constructor |
public function AdViewParams()
Constructor
fromObject | () | method |
public static function fromObject(data:Object):AdViewParams
Parameters
data:Object |
AdViewParams |
toString | () | method |
public function toString():String
Returns
String — A string representation of the view params
|
ALIGN_BOTTOM | Constant |
public static const ALIGN_BOTTOM:String = bottom
ALIGN_CENTER | Constant |
public static const ALIGN_CENTER:String = center
ALIGN_LEFT | Constant |
public static const ALIGN_LEFT:String = left
ALIGN_NONE | Constant |
public static const ALIGN_NONE:String = none
ALIGN_RIGHT | Constant |
public static const ALIGN_RIGHT:String = right
ALIGN_TOP | Constant |
public static const ALIGN_TOP:String = top