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 .) | |
IsPremium |
Determines whether the 51Degrees device package is a premium package.
| |
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 | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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 | Obsolete.
The number of data bits per pixel.
| |
BrowserName | Obsolete.
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 | Obsolete.
The company who created the browser.
| |
BrowserVersion | Obsolete.
The version number of the browser.
| |
CcppAccept | Obsolete.
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 | Obsolete.
Indicates if the browser supports http cookies.
| |
Data |
Data container for all available properties.
| |
DeviceName |
Current device name in format "[Vendor] - [Name]".
| |
HardwareModel | Obsolete.
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 | Obsolete.
Indicates if the device has a camera.
| |
HasKeypad | Obsolete.
Indicates if the device has a physical numeric keypad.
| |
HasPremiumInformation |
Indicates if current device contains premium data information.
| |
HasQwertyPad | Obsolete.
Indicates if the device has a physical qwerty keyboard.
| |
HasTouchScreen | Obsolete.
Indicates if the device has a touchscreen.
| |
HasTrackPad | Obsolete.
Indicates if the device has a track pad or ball. eg - Nexus One, Blackberry Curve
| |
HasVirtualQwerty | Obsolete.
Indicates if the device has a virtual on-screen qwerty pad.
| |
HtmlVersion | Obsolete.
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 | Obsolete.
Indicates if the browser supports Javascript.
| |
LayoutEngine | Obsolete.
The underlying technology behind the web browser.
| |
MaxScreenSize |
Returns max side size of screen size.
| |
PlatformName | Obsolete.
The name of the software platform (operating system) the device is using.
| |
PlatformVendor | Obsolete.
The company who created the OS.
| |
PlatformVersion | Obsolete.
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 | Obsolete.
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 | Obsolete.
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