Click or drag to resize

IMobileDeviceManagerAddDeviceBundle Method


Adds a new device bundle to the collection.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IDeviceBundle AddDeviceBundle(
	string name,
	string userAgent,
	int screenWidth,
	int screenHeight
)

Parameters

name
Type: SystemString
Name of new device bundle to add
userAgent
Type: SystemString

[Missing <param name="userAgent"/> documentation for "M:Ingeniux.CMS.IMobileDeviceManager.AddDeviceBundle(System.String,System.String,System.Int32,System.Int32)"]

screenWidth
Type: SystemInt32

[Missing <param name="screenWidth"/> documentation for "M:Ingeniux.CMS.IMobileDeviceManager.AddDeviceBundle(System.String,System.String,System.Int32,System.Int32)"]

screenHeight
Type: SystemInt32

[Missing <param name="screenHeight"/> documentation for "M:Ingeniux.CMS.IMobileDeviceManager.AddDeviceBundle(System.String,System.String,System.Int32,System.Int32)"]

Return Value

Type: IDeviceBundle
Newly created device bundle.
Remarks

The returned object is not yet stored in the content store.

The new device bundle only has the representative device. It doesn't have any other device in its collection.

See Also