net.neurowork.mobile.android.fw.levels.impl
Class BannerDataItem

java.lang.Object
  extended by net.neurowork.mobile.android.fw.levels.impl.BannerDataItem

public class BannerDataItem
extends java.lang.Object

Class for save information about the kind of banner inside the aplication

Author:
neurowork

Field Summary
static java.lang.String ADMOB
           
static int BOTTOM
           
static int TOP
           
 
Constructor Summary
BannerDataItem()
           
 
Method Summary
 java.lang.String getId()
          Return the banner id
 int getPosition()
          Return the position of the banner
 java.lang.String getType()
          Return the type of the banner
 void setId(java.lang.String id)
          Set the banner id
 void setPosition(java.lang.String position)
          Set the banner position
 void setType(java.lang.String type)
          Set the banner type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADMOB

public static final java.lang.String ADMOB
See Also:
Constant Field Values

TOP

public static final int TOP
See Also:
Constant Field Values

BOTTOM

public static final int BOTTOM
See Also:
Constant Field Values
Constructor Detail

BannerDataItem

public BannerDataItem()
Method Detail

getType

public java.lang.String getType()
Return the type of the banner

Returns:

setType

public void setType(java.lang.String type)
Set the banner type.

Parameters:
type -

getPosition

public int getPosition()
Return the position of the banner

Returns:
Can be constants TOP or BOTTOM

setPosition

public void setPosition(java.lang.String position)
Set the banner position

Parameters:
position - String with the position. Valid values: "bottom" or "top". If the string is invalid, position takes "top" value by default.

getId

public java.lang.String getId()
Return the banner id

Returns:

setId

public void setId(java.lang.String id)
Set the banner id

Parameters:
id -