AdRequest

The AdRequest class contains all the information necessary to fetch ads from YaftaMobile.

Extends: java.lang.Object
Implements: -
Package: com.mustamara.yaftamobile.sdk
Constructors

 

AdRequest

Construct a new AdRequest

public AdRequest()

Parameter Description
   


Public Methods

 

getAppId

Gets the App ID

public String getAppId(Context context)

Parameter Description
context The Context the view is running in.
Returns

App ID


setRunMode

Sets the ad request run mode.

public void setRunMode(RunMode mode)

Parameter Description
mode The mode to perform this ad request on.
Returns

-


getRunMode

Gets the ad request run mode.

public RunMode getRunMode()

Parameter Description
   
Returns

Current mode of this ad request