|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netmera.mobile.Netmera
public class Netmera
Netmera class contains initial configuration method and methods that are used to get general data of the application and user.
| Method Summary | |
|---|---|
static android.content.Context |
getContext()
|
static java.lang.String |
getInstallationID()
Use to get unique installation ID for the device |
static java.lang.String |
getSecurityToken(android.content.Context context)
Use to get application's Netmera api key. |
static void |
init(android.content.Context context,
java.lang.String apiKey)
Authenticates user and application. |
static void |
setContext(android.content.Context context)
You can set a context and get it from anywhere you want. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void init(android.content.Context context,
java.lang.String apiKey)
context - ContextapiKey - User and Application specific keypublic static void setContext(android.content.Context context)
init(Context, String), this will be set a Context
instance.
context - public static android.content.Context getContext()
Context instance to be able to use where ever you want.public static java.lang.String getInstallationID()
public static java.lang.String getSecurityToken(android.content.Context context)
context - Context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||