简体   繁体   English

AS3 Sticksports Flurry Analytics

[英]AS3 Sticksports Flurry Analytics

Im working with the Stick Sports Flurry Native extension for an app made is AS3. 我与Stick Sports Flurry Native扩展一起使用的应用程序是AS3。

I have the main bits working and events registering but got stuck when it came to setting user age and user gender. 我的主要工作和事件注册,但是在设置用户年龄和用户性别时遇到了麻烦。

Just Wondering if anyone was familiar with how to do this 只是想知道是否有人熟悉如何执行此操作

Thanks in advance 提前致谢

Jake 杰克

Looking at the code all you need to do is call the right function. 查看代码,您需要做的就是调用正确的函数。 They're static, so use the class name as well. 它们是静态的,因此也请使用类名。

    /**
     * Set user's id in your system.
     */
    Flurry.setUserId(id)  // String

    /**
     * Set user's age in years
     */
    Flurry.setUserAge(age) // int

    /**
     * Set user's gender ("m" or "f")
     */
    Flurry.setUserGender( gender ) // String

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM