The DeviceAtlas DeviceApi documentation  2.1.1
 All Classes Namespaces Functions Variables Properties
Static Public Member Functions | Public Attributes | List of all members
Mobi.Mtld.DA.DataType Class Reference

The data types for various properties. Each Property object returned has a getDataType() method. More...

Static Public Member Functions

static string GetName (sbyte dataTypeID)
 Get the name of a given data type. More...
 

Public Attributes

const sbyte BOOLEAN = 0
 Type boolean More...
 
const sbyte BYTE = 1
 Type byte More...
 
const sbyte SHORT = 2
 Type short int More...
 
const sbyte INTEGER = 3
 Type int More...
 
const sbyte LONG = 4
 Type long int More...
 
const sbyte FLOAT = 5
 Type float More...
 
const sbyte DOUBLE = 6
 Type double More...
 
const sbyte STRING = 7
 Type string More...
 
const sbyte UNKNOWN = 8
 Unknown type More...
 

Detailed Description

The data types for various properties. Each Property object returned has a getDataType() method.

Author
DeviceAtlas Limited

Member Function Documentation

static string Mobi.Mtld.DA.DataType.GetName ( sbyte  dataTypeID)
inlinestatic

Get the name of a given data type.

Parameters
dataTypeIDThe id to lookup the name for
Returns
The name of the data type.

Member Data Documentation

const sbyte Mobi.Mtld.DA.DataType.BOOLEAN = 0

Type boolean

const sbyte Mobi.Mtld.DA.DataType.BYTE = 1

Type byte

const sbyte Mobi.Mtld.DA.DataType.DOUBLE = 6

Type double

const sbyte Mobi.Mtld.DA.DataType.FLOAT = 5

Type float

const sbyte Mobi.Mtld.DA.DataType.INTEGER = 3

Type int

const sbyte Mobi.Mtld.DA.DataType.LONG = 4

Type long int

const sbyte Mobi.Mtld.DA.DataType.SHORT = 2

Type short int

const sbyte Mobi.Mtld.DA.DataType.STRING = 7

Type string

const sbyte Mobi.Mtld.DA.DataType.UNKNOWN = 8

Unknown type


The documentation for this class was generated from the following file: