deportKeyValues

This method contains device-specific values. It updates the login time and device.


This method must be called before the sendLoginDetails method.


Method Signature

void deportKeyValues(String appKey, String appGroupKey, String uniqueUserId, String deviceToken, int timerValueInMinutes)

Arguments

These are the arguments that define the method.

Name Type Mandatory Description
appKey String Mandatory This is the Application key.
appGroupKey String Mandatory This is the Application Group Identifier for your app.
uniqueUserId String Optional This is a unique identifier for the user.
deviceToken String Mandatory This is the Device Token.
timerValueInMinutes Integer Optional This indicates (in minutes) how frequently data is pushed from SDK to the server. The minimum is 120 seconds.

Sample Code

Analytics.getInstance(this).deportKeyValues(
    APP_KEY,
    APP_GROUP_KEY,
    UNIQUE_USER_ID,
    GCM_TOKEN,
    TIMER_IN_MINUTES
);

results matching ""

    No results matching ""