Beispiel #1
0
        //******************           DYNAMIC VARIABLE CALLBACKS       *******************

        // Called when latest dynamic variables are loaded
        public void CTExperimentsUpdated()
        {
            RunOnUiThread(() =>
            {
                Integer intval            = cleverTapAPI.GetIntegerVariable("testint", new Java.Lang.Integer(1));
                Java.Lang.Boolean boolVal = cleverTapAPI.GetBooleanVariable("testbool", new Java.Lang.Boolean(false));
                Toast.MakeText(Android.App.Application.Context, "Experiments Updated[testInt-" + intval + " , Bool-" + boolVal + "]", ToastLength.Long).Show();
                Log.Debug("CLEVERTAP", "Experiments Updated");
            });
        }