【问题标题】:Difference between UserProperties.Add and UserProperties.Set functionality in FlurrySDKFlurrySDK 中 UserProperties.Add 和 UserProperties.Set 功能之间的区别
【发布时间】:2021-10-28 22:06:42
【问题描述】:

我在我的 Unity 游戏中使用 Flurry Analytics,我想使用 Flurry UserProperties。

我的问题是关于 FlurrySDK 中 UserProperties.AddUserProperties.Set 方法的功能之间的区别。

documents 中有如下描述:

设置: 设置和替换(如果存在)属性的值。

添加: 添加用户属性值。添加已经包含在状态中的值没有效果并且不会出错。

每当我需要为用户设置/添加 UserProperty 并忽略 Flurry.UserProperties.Set 时,我可以只使用 Flurry.UserProperties.Add 吗?

或者我需要先使用Flurry.UserProperties.Add 定义要添加到Flurry 面板中的每个属性,然后使用Flurry.UserProperties.Set 为特定用户设置它们?

【问题讨论】:

    标签: unity3d flurry flurry-analytics


    【解决方案1】:

    Add 添加到现有值,而 Set 删除现有值然后添加新值

    【讨论】:

      【解决方案2】:

      要创建自定义 User.property,请在 Flurry 的管理面板中进行。

      • 设置、清理您的财产并设置您发送的最后一个值。
      • 添加、保留旧值并为您的属性添加新值。

      【讨论】:

        猜你喜欢
        • 2011-12-03
        • 2011-09-17
        • 1970-01-01
        • 1970-01-01
        • 2015-12-03
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-08-26
        相关资源
        最近更新 更多