Class Main
Provides cross-platform helpers for initialising the native SDK and handling SDK log events. Each platform-specific partial class exposes an entry point that eventually forwards to INativeApiInterface).
Namespace: ImageSdkWrapper Assembly: ImageSdkWrapper.MAUI
Inheritance: object
public class Main
Field
GitHashValue
Last recorded Git hash of the native SDK.
public static string GitHashValue
Returns
- string
OnLogEvent
Optional callback invoked for each log entry. When null, logs are written to the console.
public static Main.OnLogHandler OnLogEvent
Returns
- OnLogHandler
Method
GetLicenseInfo()
Queries the native SDK for the currently active license state.
public static LicenseInfo GetLicenseInfo()
Returns
- LicenseInfo: A populated LicenseInfo when successful; otherwise
null.
Log(bool, string)
Invokes OnLogEvent when set; otherwise writes non-verbose messages to the console.
public static void Log(bool isVerbose, string log)
Parameters
isVerbose(bool): Indicates whether the message is verbose.log(string): Message content.