Class EmulatorWindow
- Namespace
- Xui.Middleware.Emulator.Actual
- Assembly
- Xui.Middleware.Emulator.dll
A middleware window that wraps a platform window to simulate a mobile device environment when running on desktop platforms like Windows or macOS.
This class implements both IWindow and IWindow, acting as a bridge between the abstract UI and the actual system window. It also implements IWindow.IDesktopStyle to provide emulator-specific chrome styling and sizing.
The window draws a rounded-rectangle phone frame, overlays controls like battery and signal indicators, and translates desktop mouse events into synthetic mobile touch input.
public class EmulatorWindow : IWindow, IWindow, IWindow.IDesktopStyle
- Inheritance
-
EmulatorWindow
- Implements
- Inherited Members
Constructors
EmulatorWindow()
public EmulatorWindow()
Properties
Abstract
The abstract window instance from the application layer.
public IWindow? Abstract { get; set; }
Property Value
DisplayArea
The display area available to the app inside the mobile frame (excluding chrome).
public Rect DisplayArea { get; set; }
Property Value
Platform
The underlying platform window from the base runtime.
public IWindow? Platform { get; set; }
Property Value
RequireKeyboard
Whether the virtual keyboard is requested by the app.
public bool RequireKeyboard { get; set; }
Property Value
SafeArea
The safe area that excludes OS bars, camera notches, etc.
public Rect SafeArea { get; set; }