-
public class CoreProxy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumCoreProxy.MessagingProviderpublic classCoreProxy.SdkFeatureNames
-
Method Summary
Modifier and Type Method Description static voidinit(Config config)static longgetCurrentTimeMs()static booleanisInitialized()static voidinitNotificationService(Application application, CoreProxy.MessagingProvider preferredProvider)static voidrecordEvent(String key)static voidrecordEvent(String key, Map<String, Object> segmentation)static voidrecordLogin(UserDetails userDetails)static voidrecordLogout()static voidrecordCustomChannelDelivery(Context context, String token)static voidrecordCustomChannelClick(Context context, String token)static voidrecordHandledException(Exception exception)static voidrecordHandledException(Throwable exception)static voidrecordUnhandledException(Exception exception)static voidrecordUnhandledException(Throwable exception)static voidcustomNavigatedTo(String customScreen)static voidcustomNavigatedTo(String customScreen, Map<String, Object> screenData)static voidupdateScreenData(String customScreen, Map<String, Object> screenData)static voidupdateScreenData(Activity activity, Map<String, Object> screenData)static voidupdateScreenData(Fragment fragment, Map<String, Object> screenData)static voidupdateProfile(UserDetails userDetails)static StringgetUserId()static StringgetDeviceId()static voidonTokenRefresh(String token)static voidonTokenRefresh(String token, CoreProxy.MessagingProvider provider)static BooleandisplayMessage(Context context, Map<String, String> data, String channelId, int notificationSmallIcon, Intent notificationIntent)static voidinitPush(Application application)static intgetLastMessagingMethod(Context context)static voidonStart(Activity activity)static voidonStop()static StringgetAuthKey()static StringgetAppKey()static StringgetSdkName()static StringgetPackageName()static longgetSDKVersionCode()static StringgetOS()static StringgetOSVersion()static longgetOSVersionCode()static StringgetSdkVersion()static StringgetIFA()static booleanisTrackingLimitedEnabled()static booleanisCoppaEnabled()-
-
Method Detail
-
getCurrentTimeMs
static long getCurrentTimeMs()
-
isInitialized
static boolean isInitialized()
-
initNotificationService
static void initNotificationService(Application application, CoreProxy.MessagingProvider preferredProvider)
-
recordEvent
static void recordEvent(String key)
-
recordEvent
static void recordEvent(String key, Map<String, Object> segmentation)
-
recordLogin
static void recordLogin(UserDetails userDetails)
-
recordLogout
static void recordLogout()
-
recordCustomChannelDelivery
static void recordCustomChannelDelivery(Context context, String token)
-
recordCustomChannelClick
static void recordCustomChannelClick(Context context, String token)
-
recordHandledException
static void recordHandledException(Exception exception)
-
recordHandledException
static void recordHandledException(Throwable exception)
-
recordUnhandledException
static void recordUnhandledException(Exception exception)
-
recordUnhandledException
static void recordUnhandledException(Throwable exception)
-
customNavigatedTo
static void customNavigatedTo(String customScreen)
-
customNavigatedTo
static void customNavigatedTo(String customScreen, Map<String, Object> screenData)
-
updateScreenData
static void updateScreenData(String customScreen, Map<String, Object> screenData)
-
updateScreenData
static void updateScreenData(Activity activity, Map<String, Object> screenData)
-
updateScreenData
static void updateScreenData(Fragment fragment, Map<String, Object> screenData)
-
updateProfile
static void updateProfile(UserDetails userDetails)
-
getDeviceId
static String getDeviceId()
-
onTokenRefresh
static void onTokenRefresh(String token)
-
onTokenRefresh
static void onTokenRefresh(String token, CoreProxy.MessagingProvider provider)
-
displayMessage
static Boolean displayMessage(Context context, Map<String, String> data, String channelId, int notificationSmallIcon, Intent notificationIntent)
-
initPush
static void initPush(Application application)
-
getLastMessagingMethod
static int getLastMessagingMethod(Context context)
-
onStop
static void onStop()
-
getAuthKey
static String getAuthKey()
-
getSdkName
static String getSdkName()
-
getPackageName
static String getPackageName()
-
getSDKVersionCode
static long getSDKVersionCode()
-
getOSVersion
static String getOSVersion()
-
getOSVersionCode
static long getOSVersionCode()
-
getSdkVersion
static String getSdkVersion()
-
isTrackingLimitedEnabled
static boolean isTrackingLimitedEnabled()
-
isCoppaEnabled
static boolean isCoppaEnabled()
-
-
-
-