Skip to main content
Version: 2.x

Class OdinLibraryParameters

A set of values that are used when initializing the native ODIN runtime

Declaration
public class OdinLibraryParameters

Properties​

PossibleNativeBinaryLocations​

Possible install location of the native ODIN runtime binary

Declaration
public string[] PossibleNativeBinaryLocations { get; set; }

Platform​

Determines which platform specific code needs to be executed

Declaration
public SupportedPlatform Platform { get; set; }

Methods​

TryGetNativeBinaryName(out string[], out SupportedPlatform)​

Returns the name of the native ODIN runtime binary that fits the current environment

Declaration
public static bool TryGetNativeBinaryName(out string[] names, out SupportedPlatform platform)
Returns​

System.Boolean: true if a matching binary exists

Parameters​
TypeNameDescription
System.String[]namespossible names of the native sdk binary
OdinNative.Core.Platform.SupportedPlatformplatformdetected platform