Skip to content

PlatformAPI reference

Enum HostKind

Namespace: MicroEngine.Hosting
Assembly: MicroEngine.Hosting.dll
Guide: Composing a game for every platform

The kind of program hosting a game; the composition may differ by kind (a browser has no files to save to).

C#
public enum HostKind

Fields

Android = 2

An Android app.

Browser = 1

A browser page that drives frames from requestAnimationFrame and cannot block.

Desktop = 0

A desktop process (Windows, Linux, macOS) started from its command line.

IOS = 3

An iOS app.

Test = 4

A test or tool that runs games in its own process.