简体   繁体   中英

AS3 Sticksports Flurry Analytics

Im working with the Stick Sports Flurry Native extension for an app made is 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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