enum RuntimeEnvironment (Niantic.ARDK.RuntimeEnvironment)

Overview

Options for which implementation of the core ARDK interfaces (IARSession, IMultipeerNetworking, and IARNetworking) to use at runtime. More...

enum RuntimeEnvironment {
    Default,
    LiveDevice,
    Remote,
    Mock,
    Playback,
};

Detailed Documentation

Options for which implementation of the core ARDK interfaces (IARSession, IMultipeerNetworking, and IARNetworking) to use at runtime.

Enum Values

Default

On a mobile device, this is equivalent to the LiveDevice value. In the Unity Editor, if Remoting is enabled in the Virtual Studio window then it is equivalent to the Remote value, else it is equivalent to the Mock value.

LiveDevice

AR data is sourced "live" (that is, an actual camera or similar is being used), and networking connects to a live server.

Remote

AR data and networking responses are coming from a remote source.

Mock

AR data and networking responses are completely code based and contained in the Unity Editor.

Playback

AR data is sourced from a Playback dataset. Networking is not supported in this mode.