|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citygrid.CityGrid
public class CityGrid
CityGrid SDK
A Java library that provides an interface to the CityGrid REST API's as documented at http://docs.citygridmedia.com/display/citygridv2/CityGrid+APIs.
Constructor Summary | |
---|---|
CityGrid()
|
Method Summary | |
---|---|
static CGAdsCustom |
adsCustom()
Gets the builder for invoking ad searches. |
static CGAdsMobile |
adsMobile()
Gets the builder for invoking ad searches that return a mobile banner. |
static CGAdsTracker |
adsTracker()
Gets the builder for invoking Places that Pay APIs. |
static int |
getConnectTimeout()
Gets the global network connect timeout for all server calls, in milliseconds. |
static boolean |
getDebug()
Gets whether any debug information is displayed. |
static String |
getMobileType()
Gets the mobile type/model supplied by client of the SDK. |
static String |
getMuid()
Gets the MUID supplied by client of the SDK. |
static String |
getPlacement()
Gets the global placement that assists a developer in breakdowns for publisher reports |
static String |
getPublisher()
Gets the global publisher that identifies a developer. |
static int |
getReadTimeout()
Gets the global network read timeout for all server calls, in milliseconds. |
static boolean |
getSimulation()
Gets whether any calls are made to the API or all network activity is simulated. |
static CGOffersDetail |
offersDetail()
Gets the builder for getting an offer for a specific location. |
static CGOffersSearch |
offersSearch()
Gets the builder for invoking offers searches. |
static CGPlacesDetail |
placesDetail()
Gets the builder for getting a detail for a place. |
static CGPlacesSearch |
placesSearch()
Gets the builder for invoking place searches. |
static CGReviewsSearch |
reviewsSearch()
Get the build for invoking review searches. |
static void |
setConnectTimeout(int connectTimeout)
Sets the global network timeout for all server calls, in milliseconds. |
static void |
setDebug(boolean debug)
Sets whether any debug information is displayed. |
static void |
setMobileType(String mobileType)
Sets the mobile type/model to be used with certain CityGrid API calls, e.g. |
static void |
setMuid(String muid)
Sets the MUID to be used with certain CityGrid API calls, e.g. |
static void |
setPlacement(String placement)
Sets the global placement that assists a developer in breakdowns for publisher reports |
static void |
setPublisher(String publisher)
Sets the global publisher that identifies a developer. |
static void |
setReadTimeout(int readTimeout)
Sets the global network read timeout for all server calls, in milliseconds. |
static void |
setSimulation(boolean simulation)
Sets whether any calls are made to the API or all network activity is simulated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CityGrid()
Method Detail |
---|
public static String getPublisher()
public static void setPublisher(String publisher)
publisher
- public static void setPlacement(String placement)
placement
- public static String getPlacement()
public static void setConnectTimeout(int connectTimeout)
connectTimeout
- public static int getConnectTimeout()
public static void setReadTimeout(int readTimeout)
readTimeout
- public static int getReadTimeout()
public static void setDebug(boolean debug)
debug
- public static boolean getDebug()
public static boolean getSimulation()
public static void setSimulation(boolean simulation)
simulation
- public static String getMuid()
public static void setMuid(String muid)
CGAdsMobile
and CGAdsTracker
.
muid
- public static String getMobileType()
public static void setMobileType(String mobileType)
CGAdsMobile
and CGAdsTracker
.
mobileType
- public static CGPlacesSearch placesSearch()
public static CGPlacesDetail placesDetail()
public static CGReviewsSearch reviewsSearch()
public static CGOffersSearch offersSearch()
public static CGOffersDetail offersDetail()
public static CGAdsCustom adsCustom()
public static CGAdsMobile adsMobile()
public static CGAdsTracker adsTracker()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |