Google Play Android Developer API v1 (revision 10)



com.google.api.services.androidpublisher
Class Androidpublisher

java.lang.Object
  extended by com.google.api.client.googleapis.services.AbstractGoogleClient
      extended by com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
          extended by com.google.api.services.androidpublisher.Androidpublisher

public class Androidpublisher
extends AbstractGoogleJsonClient

Service definition for Androidpublisher (v1).

Lets Android application developers access their Google Play accounts.

For more information about this service, see the API Documentation

This service uses AndroidpublisherRequestInitializer to initialize global parameters via its Androidpublisher.Builder.

Upgrade warning: this class now extends AbstractGoogleJsonClient, whereas in prior version 1.8 it extended GoogleClient.

Since:
1.3
Author:
Google, Inc.

Nested Class Summary
static class Androidpublisher.Builder
          Builder for Androidpublisher.
 class Androidpublisher.Purchases
          The "purchases" collection of methods.
 
Field Summary
static String DEFAULT_BASE_URL
          Deprecated. (scheduled to be removed in 1.13)
static String DEFAULT_ROOT_URL
          The default encoded root URL of the service.
static String DEFAULT_SERVICE_PATH
          The default encoded service path of the service.
 
Constructor Summary
Androidpublisher(HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer)
          Constructor.
 
Method Summary
protected  void initialize(AbstractGoogleClientRequest<?> httpClientRequest)
           
 Androidpublisher.Purchases purchases()
          An accessor for creating requests from the Purchases collection.
 
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
getJsonFactory, getObjectParser
 
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ROOT_URL

public static final String DEFAULT_ROOT_URL
The default encoded root URL of the service. This is determined when the library is generated and normally should not be changed.

Since:
1.7
See Also:
Constant Field Values

DEFAULT_SERVICE_PATH

public static final String DEFAULT_SERVICE_PATH
The default encoded service path of the service. This is determined when the library is generated and normally should not be changed.

Since:
1.7
See Also:
Constant Field Values

DEFAULT_BASE_URL

@Deprecated
public static final String DEFAULT_BASE_URL
Deprecated. (scheduled to be removed in 1.13)
The default encoded base URL of the service. This is determined when the library is generated and normally should not be changed.

See Also:
Constant Field Values
Constructor Detail

Androidpublisher

public Androidpublisher(HttpTransport transport,
                        JsonFactory jsonFactory,
                        HttpRequestInitializer httpRequestInitializer)
Constructor.

Use Androidpublisher.Builder if you need to specify any of the optional parameters.

Parameters:
transport - HTTP transport
jsonFactory - JSON factory
httpRequestInitializer - HTTP request initializer or null for none
Since:
1.7
Method Detail

initialize

protected void initialize(AbstractGoogleClientRequest<?> httpClientRequest)
                   throws IOException
Overrides:
initialize in class AbstractGoogleClient
Throws:
IOException

purchases

public Androidpublisher.Purchases purchases()
An accessor for creating requests from the Purchases collection.

The typical use is:

   Androidpublisher androidpublisher = new Androidpublisher(...);
   Androidpublisher.Purchases.List request = androidpublisher.purchases().list(parameters ...)
 

Returns:
the resource collection