CurrentDeviceInfo MembersKentico 8.1 API Reference
The CurrentDeviceInfo type exposes the following members.
Constructors

  NameDescription
Public methodCurrentDeviceInfo
Constructor.
Back to Top
Methods

  NameDescription
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public methodStatic memberIsPremium
Determines whether the 51Degrees device package is a premium package.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodRegisterColumn(String, Func ParentObjectType, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumns
Registers the Columns of this object for resolving data macros.
(Overrides AbstractSimpleDataContainer ParentObjectType  RegisterColumns .)
Public methodSetValue
Not implemented.
(Overrides AbstractSimpleDataContainer ParentObjectType  SetValue(String, Object).)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyBitsPerPixelObsolete.
The number of data bits per pixel.
Public propertyBrowserNameObsolete.
The name of the browser. Many mobile browsers come default with the OS. Unless specifically named, these browsers are named after the accompanying OS.
Public propertyBrowserVendorObsolete.
The company who created the browser.
Public propertyBrowserVersionObsolete.
The version number of the browser.
Public propertyCcppAcceptObsolete.
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.
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .)
Public propertyCookiesCapableObsolete.
Indicates if the browser supports http cookies.
Public propertyData
Data container for all available properties.
Public propertyDeviceName
Current device name in format "[Vendor] - [Name]".
Public propertyHardwareModelObsolete.
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.
Public propertyHardwareName
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.
Public propertyHardwareVendor
The company who manufactured the hardware. Some devices (such as PCs) don't reveal this information and will return 'Unknown'.
Public propertyHasCameraObsolete.
Indicates if the device has a camera.
Public propertyHasKeypadObsolete.
Indicates if the device has a physical numeric keypad.
Public propertyHasPremiumInformation
Indicates if current device contains premium data information.
Public propertyHasQwertyPadObsolete.
Indicates if the device has a physical qwerty keyboard.
Public propertyHasTouchScreenObsolete.
Indicates if the device has a touchscreen.
Public propertyHasTrackPadObsolete.
Indicates if the device has a track pad or ball. eg - Nexus One, Blackberry Curve
Public propertyHasVirtualQwertyObsolete.
Indicates if the device has a virtual on-screen qwerty pad.
Public propertyHtmlVersionObsolete.
Latest version of HyperText Markup Language (HTML) supported by the browser. May return 'Unknown'.
Public propertyIsCrawler
Indicates if the device is a crawler.
Public propertyIsMobile
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).
Public propertyIsTablet
The manufacturer of the device sells the device primarily as a tablet.
Public propertyItem
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public propertyJavascriptObsolete.
Indicates if the browser supports Javascript.
Public propertyLayoutEngineObsolete.
The underlying technology behind the web browser.
Public propertyMaxScreenSize
Returns max side size of screen size.
Public propertyPlatformNameObsolete.
The name of the software platform (operating system) the device is using.
Public propertyPlatformVendorObsolete.
The company who created the OS.
Public propertyPlatformVersionObsolete.
The version of the software platform.
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public propertyScreenPixelsHeight
The height of the screen in pixels.
Public propertyScreenPixelsWidth
The width of the screen in pixels.
Public propertyStreamingAcceptObsolete.
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.
Public propertySupportedBearersObsolete.
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
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public propertyUserAgent
Current device user agent.
Back to Top
See Also