com.funambol.platform
Class DeviceInfo

java.lang.Object
  extended by com.funambol.platform.DeviceInfo
All Implemented Interfaces:
DeviceInfoInterface

public class DeviceInfo
extends java.lang.Object
implements DeviceInfoInterface


Constructor Summary
DeviceInfo()
           
 
Method Summary
 boolean checkOS(int high, int mid, int low)
           
 java.lang.String getCarrier()
          Returns the carrier name, or null if not available.
 java.lang.String getCountryCode()
          Returns the A2 country code, or null if not available.
 java.lang.String getDeviceId()
           
 java.lang.String getDeviceModel()
          Returns the device model or null if not available.
 java.lang.String getEmailAddress()
          Returns the main email adddress or null if not available.
 java.lang.String getFunambolPlatform()
          Returns the platform or null if not available.
 java.lang.String getHardwareVersion()
           
 java.lang.String getManufacturer()
          Returns the device manufacturer or null if not available.
 java.lang.String getOSVersion()
           
 java.lang.String getPhoneNumber()
          Returns the phone number or null if not available.
 java.lang.String getTimezone()
          Returns the device timezone or null if not available.
 boolean isRoaming()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceInfo

public DeviceInfo()
Method Detail

getPhoneNumber

public java.lang.String getPhoneNumber()
Returns the phone number or null if not available.

Specified by:
getPhoneNumber in interface DeviceInfoInterface

getFunambolPlatform

public java.lang.String getFunambolPlatform()
Returns the platform or null if not available. The platform here is a Funambol identification of the client build.

Specified by:
getFunambolPlatform in interface DeviceInfoInterface

getEmailAddress

public java.lang.String getEmailAddress()
Returns the main email adddress or null if not available.

Specified by:
getEmailAddress in interface DeviceInfoInterface

getTimezone

public java.lang.String getTimezone()
Returns the device timezone or null if not available.

Specified by:
getTimezone in interface DeviceInfoInterface

getManufacturer

public java.lang.String getManufacturer()
Returns the device manufacturer or null if not available.

Specified by:
getManufacturer in interface DeviceInfoInterface

getDeviceModel

public java.lang.String getDeviceModel()
Returns the device model or null if not available.

Specified by:
getDeviceModel in interface DeviceInfoInterface

getCarrier

public java.lang.String getCarrier()
Returns the carrier name, or null if not available.

Specified by:
getCarrier in interface DeviceInfoInterface

getCountryCode

public java.lang.String getCountryCode()
Returns the A2 country code, or null if not available.

Specified by:
getCountryCode in interface DeviceInfoInterface

getHardwareVersion

public java.lang.String getHardwareVersion()

getDeviceId

public java.lang.String getDeviceId()

isRoaming

public boolean isRoaming()

getOSVersion

public java.lang.String getOSVersion()

checkOS

public boolean checkOS(int high,
                       int mid,
                       int low)


Copyright © 2001-2009 Funambol.