Packagecom.myflashlab.air.extensions.googleGames
Classpublic class PlayerStats
InheritancePlayerStats Inheritance Object

A client to retrieve Player stats.



Public Properties
 PropertyDefined By
  averageSessionLength : Number
[read-only] The average session length of the player in minutes.
PlayerStats
  daysSinceLastPlayed : int
[read-only] The approximate number of days since the player last played.
PlayerStats
  numberOfPurchases : int
[read-only] The approximate number of in-app purchases for the player.
PlayerStats
  numberOfSessions : int
[read-only] The approximate number of sessions of the player.
PlayerStats
  sessionPercentile : Number
[read-only] The approximation of sessions percentile for the player.
PlayerStats
  spendPercentile : Number
[read-only] The approximate spend percentile of the player.
PlayerStats
Property Detail
averageSessionLengthproperty
averageSessionLength:Number  [read-only]

The average session length of the player in minutes. Session length is determined by the time that a player is signed in to Google Play Games services.


Implementation
    public function get averageSessionLength():Number
daysSinceLastPlayedproperty 
daysSinceLastPlayed:int  [read-only]

The approximate number of days since the player last played.


Implementation
    public function get daysSinceLastPlayed():int
numberOfPurchasesproperty 
numberOfPurchases:int  [read-only]

The approximate number of in-app purchases for the player.


Implementation
    public function get numberOfPurchases():int
numberOfSessionsproperty 
numberOfSessions:int  [read-only]

The approximate number of sessions of the player. Sessions are determined by the number of times that a player signs in to Google Play Games services.


Implementation
    public function get numberOfSessions():int
sessionPercentileproperty 
sessionPercentile:Number  [read-only]

The approximation of sessions percentile for the player. This value indicates how many sessions the current player has played in comparison to the rest of this game's player base. Higher numbers indicate that this player has played more sessions.


Implementation
    public function get sessionPercentile():Number
spendPercentileproperty 
spendPercentile:Number  [read-only]

The approximate spend percentile of the player. This value indicates how much the current player has spent in comparison to the rest of this game's player base. Higher numbers indicate that this player has spent more.


Implementation
    public function get spendPercentile():Number