IDeviceInfo Interface Ingeniux CMS Content Store API

Represents detailed information of a device-browser combination. This information is provided by the Ingeniux CMS mobile detection library for administrative user interfaces. It isn't stored in the bundle.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public interface IDeviceInfo : IDevice, 
	IEntity, IEntityEvents

The IDeviceInfo type exposes the following members.

Properties

  NameDescription
Public propertyCreated
Gets the entity's creation date.
(Inherited from IEntity.)
Public propertyCreationUser
Gets the ID of the User who created this entity.
(Inherited from IEntity.)
Public propertyFullName
Gets the full name of the device-browser combination.
Public propertyCode exampleHeight
Gets the simulated screen height for a browser.
Public propertyIsTablet
Checks whether this device is a tablet or mobile phone.
Public propertyLastModified
Gets the date when the entity was most recently modified.
(Inherited from IEntity.)
Public propertyLastModifiedUser
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity.)
Public propertyManufacturer
Gets the device manufacturer's name.
Public propertyName
Gets and sets the entity's name.
(Inherited from IEntity.)
Public propertyPlatform
Gets the platform (operating system) of the device.
Public propertySession
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity.)
Public propertySessionId
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity.)
Public propertyUserAgent
Gets the User Agent string in this device/browser combination
(Inherited from IDevice.)
Public propertyVersion
Gets the device's firmware version.
Public propertyCode exampleWidth
Gets the simulated screen width for browser.
Top
Methods

  NameDescription
Public methodCanBundleWith
Checks if this device can be put into the same DeviceBundle as another specified device.
Public methodValidateData
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.)
Public methodValidateUserPermission
Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity.
(Inherited from IEntity.)
Top
Events

  NameDescription
Public eventAfterEntitySave
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents.)
Public eventBeforeEntitySave
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents.)
Top
Remarks

This object is for mobile device emulation for page previews.
Examples

Serialization of this object matches the "D" element of the MobileDevices.xml file in previous-generation CMS content, except the element text is the user agent instead of device ID:

<D>Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.85 (KHTML, like Gecko) Version/5.1 Mobile/9B125 Safari/7534.48.3</D>
See Also

Reference