The DeviceAtlas DeviceApi documentation
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

◆ GetName()

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

◆ BOOLEAN

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

Type boolean

◆ BYTE

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

Type byte

◆ DOUBLE

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

Type double

◆ FLOAT

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

Type float

◆ INTEGER

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

Type int

◆ LONG

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

Type long int

◆ SHORT

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

Type short int

◆ STRING

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

Type string

◆ UNKNOWN

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

Unknown type


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