DeviceDisplay
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (4.1.0.0)
Provides properties and events to interact with the device's display.
- C#
- VB.NET
public class DeviceDisplay : DeviceInfoBase
Public Class DeviceDisplay
Inherits DeviceInfoBase
Access this class through the Device singleton.
Properties
Density
Double: The device's density.
Height
Double: The device's height (in pixels).
KeepOn
Boolean: Gets or sets whether the device screen should be allowed to lock.
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.