Android Client Reference
Class PlayerIO
Namespace: com.playerio
Language: Java
Entry class for the initial connection to Player.IO.
Here is an example of using the class to authenticate a user:
Methods | |||
---|---|---|---|
public static void |
Processes any play links in a given intent. Call this in your url scheme handler activity, if any. |
||
public static String |
Property used to access the AdTrack service Calculate an auth hash for use in the connect method. |
||
public static String |
Calculate an auth hash for use in the connect method. |
||
public static void |
If true, API Requests will be encrypted using TLS/SSL. |
PlayerIO.authenticate
public static void |
|
Processes any play links in a given intent. Call this in your url scheme handler activity, if any.
Arguments
Activity | activity |
String | gameId |
String | connectionId |
Map<String,String> | authenticationArguments |
String[] | playerInsightSegments |
Callback<Client> | callback |
PlayerIO.calcAuth
public static String |
|
Property used to access the AdTrack service Calculate an auth hash for use in the connect method.
Arguments
String | userId |
String | sharedSecret |
PlayerIO.calcAuth256
public static String |
|
Calculate an auth hash for use in the connect method.
Arguments
String | userId |
String | sharedSecret |
PlayerIO.setUseSecureApiRequests
public static void |
|
If true, API Requests will be encrypted using TLS/SSL.
Arguments
boolean | value |