Class Overview
Create a client for interacting with Kinvey's services from an Android Activity.
Client myClient = new Client.Builder(appKey, appSecret, getContext()).build();
All features of the library are be accessed through an instance of a client.
It is recommended to maintain a single instance of a Client
while developing with Kinvey, either in an
Activity, a Service, or an Application.
This Builder class is not thread-safe.
Summary
Public Constructors |
|
Client.Builder(String appKey, String appSecret)
Use this constructor to create a AbstractClient.Builder, which can be used to build a Kinvey AbstractClient with defaults
set for the Java runtime.
|
Public Constructors
public
Client.Builder
(String appKey, String appSecret)
Use this constructor to create a AbstractClient.Builder, which can be used to build a Kinvey AbstractClient with defaults
set for the Java runtime.
Parameters
appKey |
Your Kinvey Application Key |
appSecret |
Your Kinvey Application Secret
|
Public Methods
public
Client
build
()
Returns
- an instantiated Kinvey Android Client,
which contains factory methods for accessing various functionality.