com.android.sdklib.internal.repository
Class SdkStats.PlatformStatBase

java.lang.Object
  extended by com.android.sdklib.internal.repository.SdkStats.PlatformStatBase
Direct Known Subclasses:
SdkStats.PlatformStat
Enclosing class:
SdkStats

public static class SdkStats.PlatformStatBase
extends java.lang.Object


Constructor Summary
SdkStats.PlatformStatBase(int apiLevel, java.lang.String versionName, java.lang.String codeName, float share)
           
 
Method Summary
 int getApiLevel()
          The Android API Level for the platform.
 java.lang.String getCodeName()
          The official codename for this platform, for example "Cupcake".
 float getShare()
          An approximate share percentage of this platform and all the platforms of lower API level.
 java.lang.String getVersionName()
          The official version name of this platform, for example "Android 1.5".
 java.lang.String toString()
          Returns a string representation of this object, for debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SdkStats.PlatformStatBase

public SdkStats.PlatformStatBase(int apiLevel,
                                 java.lang.String versionName,
                                 java.lang.String codeName,
                                 float share)
Method Detail

getApiLevel

public int getApiLevel()
The Android API Level for the platform. An int > 0.


getCodeName

public java.lang.String getCodeName()
The official codename for this platform, for example "Cupcake".


getVersionName

public java.lang.String getVersionName()
The official version name of this platform, for example "Android 1.5".


getShare

public float getShare()
An approximate share percentage of this platform and all the platforms of lower API level.


toString

public java.lang.String toString()
Returns a string representation of this object, for debugging purposes.

Overrides:
toString in class java.lang.Object