public class PinnedRakamClient extends RakamClient
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PinnedRakamClient.SSLContextBuilder
SSl context builder, used to generate the SSL context.
|
RakamClient.CleanerFunction| Modifier and Type | Field and Description |
|---|---|
protected boolean |
initializedSSLSocketFactory
The Initialized ssl socket factory.
|
protected static PinnedRakamClient |
instance
The default instance.
|
protected static PinnedRakamClient.SSLContextBuilder |
SSL_CONTEXT_API_RAKAM_IO
Pinned certificate chain for api.rakam.io.
|
protected SSLSocketFactory |
sslSocketFactory
The SSl socket factory.
|
static String |
TAG
The class identifier tag used in logging.
|
apiKey, context, dbHelper, DEVICE_ID_KEY, deviceId, END_SESSION_EVENT, httpClient, LAST_EVENT_ID_KEY, LAST_EVENT_TIME_KEY, LAST_IDENTIFY_ID_KEY, OPT_OUT_KEY, PREVIOUS_SESSION_ID_KEY, START_SESSION_EVENT, SUPER_PROPERTIES_KEY, USER_ID_KEY, userId| Constructor and Description |
|---|
PinnedRakamClient()
Instantiates a new Pinned rakam client.
|
| Modifier and Type | Method and Description |
|---|---|
static PinnedRakamClient |
getInstance()
Gets the default instance.
|
protected SSLSocketFactory |
getPinnedCertSslSocketFactory()
Gets pinned cert ssl socket factory.
|
protected SSLSocketFactory |
getPinnedCertSslSocketFactory(PinnedRakamClient.SSLContextBuilder context)
Gets pinned cert ssl socket factory.
|
RakamClient |
initialize(android.content.Context context,
String apiKey,
String userId)
Initialize the Rakam SDK with the Android application context, your Rakam App API
key, and a user ID for the current user.
|
protected void |
setPinnedCertSslSocketFactory(SSLSocketFactory sslSocketFactory)
Sets pinned cert ssl certicate
|
bytesToHexString, clearSuperProperties, clearUserProperties, contextAndApiKeySet, disableLocationListening, enableForegroundTracking, enableLocationListening, enableLogging, getCurrentTimeMillis, getDeviceId, getSessionId, getSuperProperties, getUserId, identify, initialize, isOptedOut, logEvent, logEvent, logEvent, logEvent, logEventAsync, logEventSync, logEventSync, logEventSync, logRevenue, makeEventUploadPostRequest, recordAction, recordIdentify, replaceWithJSONNull, setApiUrl, setDeviceId, setEventMaxCount, setEventUploadMaxBatchSize, setEventUploadPeriodMillis, setEventUploadThreshold, setLogLevel, setMinTimeBetweenSessionsMillis, setOffline, setOptOut, setSessionTimeoutMillis, setSuperProperties, setUserId, setUserId, setUserId, setUserProperties, syncEventsWithServer, syncEventsWithServer, trackSessionEvents, truncate, truncate, truncate, uploadEvents, useAdvertisingIdForDeviceId, validateLogEventpublic static final String TAG
"PinnedRakamClient";protected static final PinnedRakamClient.SSLContextBuilder SSL_CONTEXT_API_RAKAM_IO
protected static PinnedRakamClient instance
protected SSLSocketFactory sslSocketFactory
protected boolean initializedSSLSocketFactory
public PinnedRakamClient()
public static PinnedRakamClient getInstance()
public RakamClient initialize(android.content.Context context, String apiKey, String userId)
RakamClientinitialize in class RakamClientcontext - the Android application contextapiKey - your Rakam App API keyuserId - the user id to setprotected SSLSocketFactory getPinnedCertSslSocketFactory()
protected void setPinnedCertSslSocketFactory(SSLSocketFactory sslSocketFactory)
protected SSLSocketFactory getPinnedCertSslSocketFactory(PinnedRakamClient.SSLContextBuilder context)
context - the contextCopyright © 2016. All rights reserved.