com.nativex.monetization
Class DialogInputs

java.lang.Object
  extended by com.nativex.monetization.DialogInputs

public class DialogInputs
extends Object

Container class for dialog data.

Author:
Anton Donchev

Field Summary
private  int currencyAmount
          The amount of currency to display in the dialog.
private  String currencyName
          The vitual currency name to display in the dialog.
private  Drawable icon
          The icon of the dialog.
 
Constructor Summary
DialogInputs()
           
 
Method Summary
 int getCurrencyAmount()
          Returns the amount of virtual currency.
 String getCurrencyName()
          Returns the virtual currency name.
 Drawable getIcon()
          Returns the icon of the dialog.
 void setCurrencyAmount(int currencyAmount)
          Sets the amount of virtual currency.
 void setCurrencyName(String currencyName)
          Sets the virtual currency name.
 void setIcon(Drawable icon)
          Sets the icon of the dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currencyName

private String currencyName
The vitual currency name to display in the dialog.


icon

private Drawable icon
The icon of the dialog.


currencyAmount

private int currencyAmount
The amount of currency to display in the dialog.

Constructor Detail

DialogInputs

public DialogInputs()
Method Detail

getCurrencyName

public String getCurrencyName()
Returns the virtual currency name.

Returns:
String. The virtual currency name.

setCurrencyName

public void setCurrencyName(String currencyName)
Sets the virtual currency name. This name will be used in the dialog offering reward for completing the action.

Parameters:
currencyName - String. The virtual currency name.

getIcon

public Drawable getIcon()
Returns the icon of the dialog.

Returns:
Drawable. The icon as drawable.

setIcon

public void setIcon(Drawable icon)
Sets the icon of the dialog.

Parameters:
icon - Drawable. The drawable to set as icon.

getCurrencyAmount

public int getCurrencyAmount()
Returns the amount of virtual currency.

Returns:
Integer. The amount of virtual currency.

setCurrencyAmount

public void setCurrencyAmount(int currencyAmount)
Sets the amount of virtual currency. This amount will be included in the message of the dialog when offering reward to the user for completing the action.

Parameters:
currencyAmount - Integer. The amount of virtual currency.