diff --git a/src/main/java/com/amplitude/unity/plugins/AmplitudePlugin.java b/src/main/java/com/amplitude/unity/plugins/AmplitudePlugin.java index cf964aa5..081773b3 100644 --- a/src/main/java/com/amplitude/unity/plugins/AmplitudePlugin.java +++ b/src/main/java/com/amplitude/unity/plugins/AmplitudePlugin.java @@ -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)); }