## com.gs.common.client

# ApiClient

This class is for register public gs apis. If you want to use public gs apis,remember to init ApiClient first. The way to init ApiClient is very simple. Just use ApiClient.builder to build a needed ApiClient by adding needed apis. After call ApiClient.Builder.build(),the default instance is changed to the new one. We recommend you to build ApiClient in your own {@link android.app.Application} class. And better build only once,and add all you may needed apis when you build ApiClient. Or else you may difficultly tell now you called based on which ApiClient,if the ApiClient always build and always changed.

### Supported Products:

All

# Detail

## Method

method | description
--- | ---
`public static` `ApiClient` `getInstance`(); | To get the single instance of ApiClient. In common, you no need to call it. ### Supported Products: All

## Member & Constant

Member | description
--- | ---
`public static` `Builder` `builder` | The builder to add all needed apis,and create the instance of ApiClient. In common, you call this builder at the beginning of the caller application. ### Supported Products: All