The CurrentDeviceInfo type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CurrentDeviceInfo |
Constructor.
|
Methods
Name | Description | |
---|---|---|
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterColumn(String, Func ParentObjectType, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumns |
Registers the Columns of this object for resolving data macros.
(Overrides AbstractSimpleDataContainer ParentObjectType RegisterColumns .) | |
SetValue |
Not implemented.
(Overrides AbstractSimpleDataContainer ParentObjectType SetValue(String, Object).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
Name | Description | |
---|---|---|
BitsPerPixel |
The number of data bits per pixel.
| |
BrowserName |
The name of the browser. Many mobile browsers come default with the OS. Unless specifically named, these browsers are named after the accompanying OS.
| |
BrowserVendor |
The company who created the browser.
| |
BrowserVersion |
The version number of the browser.
| |
CcppAccept |
Stands for Composite Capability/Preference Profiles. Lists MIME types known to be supported. 3rd party applications may enable other MIME types to be supported which are not listed.
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .) | |
CookiesCapable |
Indicates if the browser supports http cookies.
| |
DeviceName |
Current device name in format "[Vendor] - [Name]".
| |
HardwareModel |
The model name or number used primarily by the hardware vendor to identify the device. This is not always the name the device is most often known as. You should also use HardwareName for a list of popular device names.
| |
HardwareName |
A list of marketing names associated with the device, seperated by a '|'. A device may be known by many names depending on region or network. Likewise, a device may not have a marketing name at all, leaving this empty. This property should be used in tandem with HardwareModel.
| |
HardwareVendor |
The company who manufactured the hardware. Some devices (such as PCs) don't reveal this information and will return 'Unknown'.
| |
HasCamera |
Indicates if the device has a camera.
| |
HasKeypad |
Indicates if the device has a physical numeric keypad.
| |
HasPremiumInformation |
Indicates if current device contains premium data information.
| |
HasQwertyPad |
Indicates if the device has a physical qwerty keyboard.
| |
HasTouchScreen |
Indicates if the device has a touchscreen.
| |
HasTrackPad |
Indicates if the device has a track pad or ball. eg - Nexus One, Blackberry Curve
| |
HasVirtualQwerty |
Indicates if the device has a virtual on-screen qwerty pad.
| |
HtmlVersion |
Latest version of HyperText Markup Language (HTML) supported by the browser. May return 'Unknown'.
| |
IsCrawler |
Indicates if the device is a crawler.
| |
IsMobile |
The device's primary data connection is wireless and is designed to operate mostly from battery power (ie a mobile phone, smart phone or tablet).
| |
IsTablet |
The manufacturer of the device sells the device primarily as a tablet.
| |
Item |
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
Javascript |
Indicates if the browser supports Javascript.
| |
LayoutEngine |
The underlying technology behind the web browser.
| |
MaxScreenSize |
Returns max side size of screen size.
| |
PlatformName |
The name of the software platform (operating system) the device is using.
| |
PlatformVendor |
The company who created the OS.
| |
PlatformVersion |
The version of the software platform.
| |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
ScreenPixelsHeight |
The height of the screen in pixels.
| |
ScreenPixelsWidth |
The width of the screen in pixels.
| |
StreamingAccept |
A list of MIME types the device can accept to stream. 3rd party applications may enable other MIME types to be supported which are not listed.
| |
SupportedBearers |
List of the bearers supported by the device.
Possible values:
1xRTT, 3GPP, CDMA, CSD, Desktop Passthrough, EDGE, EVDO, GPRS, GSM, HSCSD, HSDPA, HSPA, HSPA+, HSUPA, iDEN, LTE, NoneSupported, SMS, UMTS, Unknown, USB, USSD, WCDMA, WiFi, WiMAX
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
UserAgent |
Current device user agent.
|
See Also