deportKeyValues

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


Info This method must be called before the sendLoginDetails method.


To add the method:

- (void)deportKeyValues:(NSString * _Nonnull)app_group_key
app_key:(NSString * _Nonnull)app_key
uniqueUserID:(id _Nonnull)uniqueUserID
deviceTokenString:(id _Nullable)deviceTokenString
timerValue:(id _Nullable)timerValue;

Example

Objective C
Swift
[instance_object deportKeyValues:@"xxxxxxxx-0000-1111-7777-xxxxx"
    app_key:@"xxxxxxxx-0001-111a-777e-xxxxx"
    uniqueUserID:@"100"
    deviceTokenString:@"DEVICE_TOKEN_STRING"
    timerValue:@"120"
];
instance.deportKeyValues(
    app_group_key: "xxxxxxxx-0000-1111-7777-xxxxx",
    app_key: "xxxxxxxx-0001-111a-777e-xxxxx",
    uniqueUserID: "100",
    deviceTokenString: "DEVICE_TOKEN_STRING",
    timerValue: "120",
)

Arguments

Name Type Mandatory Description
app_group_key NSString Mandatory This is the Application Group Identifier for your app.
App_key NSString Mandatory This is the Application key.
uniqueUserID id Mandatory This is a unique identifier for the user.
deviceTokenString id Optional This is the Device Token.
timerValue id Optional This indicates (in minutes) how frequently data is pushed from SDK to the server. The minimum is 120 seconds.

results matching ""

    No results matching ""