DisplayInfo
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid
Provides information about the device's screen.
- C#
- VB.NET
public class DisplayInfo : DeviceInfoBase
Public Class DisplayInfo
Inherits DeviceInfoBase
Access this class through the Info singleton.
Constructors
DisplayInfo()
Creates a new instance of DisplayInfo.
Properties
Density
Double: The device's density.
Height
Double: The device's height (in pixels).
Orientation
DisplayOrientation: The device display's orientation.
RefreshRate
Single: The device's refresh rate.
Rotation
DisplayRotation: The device's rotation.
Width
Double: The device's width (in pixels).
Methods
OnWebUpdate(info)
Updates the info configuration.
| Parameter | Type | Description |
|---|---|---|
| info | Object | The info configuration. |
Events
MainDisplayInfoChanged
EventHandler Fires when the main display info changes.