Skip to content

Commit

Permalink
Add setMinTimeBetweenSessionsMillis into AmplitudePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
haoliu-amp committed Sep 13, 2020
1 parent 289cf89 commit d67f266
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ public static void setOptOut(String instanceName, boolean enabled) {
Amplitude.getInstance(instanceName).setOptOut(enabled);
}

public static void setMinTimeBetweenSessionsMillis(String instanceName, long minTimeBetweenSessionsMillis) {
Amplitude.getInstance(instanceName).setMinTimeBetweenSessionsMillis(minTimeBetweenSessionsMillis);
}

public static void setUserProperties(String instanceName, String jsonProperties) {
Amplitude.getInstance(instanceName).setUserProperties(ToJSONObject(jsonProperties));
}
Expand Down

0 comments on commit d67f266

Please sign in to comment.