Table of Contents

Namespace Xui.Middleware.Emulator.Actual

Classes

EmulatorPlatform

A runtime middleware layer that intercepts platform calls to inject emulator behavior.

This class wraps a base platform implementation (e.g., Windows or macOS) and adapts it to simulate a mobile device environment for desktop testing.

EmulatorWindow

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.