Skip to main content

DisplayInfo

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid

Provides information about the device's screen.

public class DisplayInfo : DeviceInfoBase

Access this class through the Info singleton.

Constructors​

Instance memberDisplayInfo()​

Creates a new instance of DisplayInfo.

Properties​

Instance memberDensity​

Double: The device's density.

Instance memberHeight​

Double: The device's height (in pixels).

Instance memberOrientation​

DisplayOrientation: The device display's orientation.

Instance memberRefreshRate​

Single: The device's refresh rate.

Instance memberRotation​

DisplayRotation: The device's rotation.

Instance memberWidth​

Double: The device's width (in pixels).

Methods​

Instance memberOnWebUpdate(info)​

Updates the info configuration.

ParameterTypeDescription
infoObjectThe info configuration.

Events​

Instance memberMainDisplayInfoChanged​

EventHandler Fires when the main display info changes.