| CurrentDeviceInfo Class |
Namespace: CMS.PortalEngine
public class CurrentDeviceInfo : AbstractDataContainer<CurrentDeviceInfo>
The CurrentDeviceInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| CurrentDeviceInfo |
Constructor.
|
| Name | Description | |
|---|---|---|
| ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
| Data |
Data container for all available properties.
| |
| DeviceName |
Current device name in format "[Vendor] - [Name]".
| |
| HardwareName |
A list of marketing names associated with the device, separated 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'.
| |
| HasPremiumInformation |
Indicates if current device contains premium data information.
| |
| 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 AbstractSimpleDataContainerTObject.) | |
| MaxScreenSize |
Returns max side size of screen size.
| |
| RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
| RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
| ScreenPixelsHeight |
The height of the screen in pixels.
| |
| ScreenPixelsWidth |
The width of the screen in pixels.
| |
| UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
| UserAgent |
Current device user agent.
|
| Name | Description | |
|---|---|---|
| ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
| GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
| IsPremium |
Determines whether the 51Degrees device package is a premium package.
| |
| RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
| RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
| RegisterColumns |
Registers the Columns of this object for resolving data macros.
(Overrides AbstractSimpleDataContainerTObjectRegisterColumns.) | |
| SetValue |
Not implemented.
(Overrides AbstractSimpleDataContainerTObjectSetValue(String, Object).) | |
| TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |