Interface

ISimulatorSharedData

USI.Core

Opens provider-neutral named data channels shared with other simulator clients or plugins. The same API is used for Microsoft Flight Simulator and X-Plane.

public interface ISimulatorSharedData

Fields

MaximumBinaryCapacityBytes

public const int MaximumBinaryCapacityBytes

Largest portable binary channel supported by every built-in provider.

Methods

TryOpenBinaryAsync

public Task<USIResult<ISharedDataChannel<IReadOnlyList<Byte>>>> TryOpenBinaryAsync(string name, int capacityBytes = 8188)

Opens or creates a named binary channel with a fixed capacity. Capacity must be between one and bytes.

TryOpenDoubleAsync

public Task<USIResult<ISharedDataChannel<Double>>> TryOpenDoubleAsync(string name)

Opens or creates a named double-precision number channel.

TryOpenInt32Async

public Task<USIResult<ISharedDataChannel<Int32>>> TryOpenInt32Async(string name)

Opens or creates a named 32-bit integer channel.