You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Sets user's custom property value only if it was not set before
1053
1054
* @param {string} key - name of the property to attach to user
1054
1055
* @param {string|number} value - value to store under provided property
1056
+
* @deprecated use {@link Countly.userProfile.set_once} instead
1055
1057
* */
1056
1058
set_once(key,value){
1057
1059
Countly.userProfile.set_once(key,value);
1058
1060
},
1059
1061
/**
1060
1062
* Unset's/delete's user's custom property
1061
1063
* @param {string} key - name of the property to delete
1064
+
* @deprecated use {@link Countly.userProfile.unset} instead
1062
1065
* */
1063
1066
unset(key){
1064
1067
Countly.userProfile.unset(key);
1065
1068
},
1066
1069
/**
1067
1070
* Increment value under the key of this user's custom properties by one
1068
1071
* @param {string} key - name of the property to attach to user
1072
+
* @deprecated use {@link Countly.userProfile.increment} instead
1069
1073
* */
1070
1074
increment(key){
1071
1075
Countly.userProfile.increment(key);
@@ -1074,6 +1078,7 @@ Countly.Bulk = Bulk;
1074
1078
* Increment value under the key of this user's custom properties by provided value
1075
1079
* @param {string} key - name of the property to attach to user
1076
1080
* @param {number} value - value by which to increment server value
1081
+
* @deprecated use {@link Countly.userProfile.increment_by} instead
1077
1082
* */
1078
1083
increment_by(key,value){
1079
1084
Countly.userProfile.increment_by(key,value);
@@ -1082,6 +1087,7 @@ Countly.Bulk = Bulk;
1082
1087
* Multiply value under the key of this user's custom properties by provided value
1083
1088
* @param {string} key - name of the property to attach to user
1084
1089
* @param {number} value - value by which to multiply server value
1090
+
* @deprecated use {@link Countly.userProfile.multiply} instead
1085
1091
* */
1086
1092
multiply(key,value){
1087
1093
Countly.userProfile.multiply(key,value);
@@ -1090,6 +1096,7 @@ Countly.Bulk = Bulk;
1090
1096
* Save maximal value under the key of this user's custom properties
1091
1097
* @param {string} key - name of the property to attach to user
1092
1098
* @param {number} value - value which to compare to server's value and store maximal value of both provided
1099
+
* @deprecated use {@link Countly.userProfile.max} instead
1093
1100
* */
1094
1101
max(key,value){
1095
1102
Countly.userProfile.max(key,value);
@@ -1098,6 +1105,7 @@ Countly.Bulk = Bulk;
1098
1105
* Save minimal value under the key of this user's custom properties
1099
1106
* @param {string} key - name of the property to attach to user
1100
1107
* @param {number} value - value which to compare to server's value and store minimal value of both provided
1108
+
* @deprecated use {@link Countly.userProfile.min} instead
1101
1109
* */
1102
1110
min(key,value){
1103
1111
Countly.userProfile.min(key,value);
@@ -1106,6 +1114,7 @@ Countly.Bulk = Bulk;
1106
1114
* Add value to array under the key of this user's custom properties. If property is not an array, it will be converted to array
1107
1115
* @param {string} key - name of the property to attach to user
1108
1116
* @param {string|number} value - value which to add to array
1117
+
* @deprecated use {@link Countly.userProfile.push} instead
1109
1118
* */
1110
1119
push(key,value){
1111
1120
Countly.userProfile.push(key,value);
@@ -1114,6 +1123,7 @@ Countly.Bulk = Bulk;
1114
1123
* Add value to array under the key of this user's custom properties, storing only unique values. If property is not an array, it will be converted to array
1115
1124
* @param {string} key - name of the property to attach to user
1116
1125
* @param {string|number} value - value which to add to array
1126
+
* @deprecated use {@link Countly.userProfile.push_unique} instead
1117
1127
* */
1118
1128
push_unique(key,value){
1119
1129
Countly.userProfile.push_unique(key,value);
@@ -1122,12 +1132,14 @@ Countly.Bulk = Bulk;
1122
1132
* Remove value from array under the key of this user's custom properties
1123
1133
* @param {string} key - name of the property
1124
1134
* @param {string|number} value - value which to remove from array
1135
+
* @deprecated use {@link Countly.userProfile.pull} instead
1125
1136
* */
1126
1137
pull(key,value){
1127
1138
Countly.userProfile.pull(key,value);
1128
1139
},
1129
1140
/**
1130
1141
* Save changes made to user's custom properties object and send them to server
1142
+
* @deprecated use {@link Countly.userProfile.save} instead
0 commit comments