PluginManifest
Record in Oadm.Sdk.Plugins · Oadm.Sdk.dll
Content of plugin.json next to the plugin assemblies. EnabledByDefault false: the plugin is off until an administrator turns it on (Plugins page). AlwaysOn true: core functionality that cannot be turned off (the stored choice is ignored). Description: one short sentence for the Plugins page.
public sealed record PluginManifest(string Id, string Version, string MinSdkVersion, string? DisplayName = null, bool EnabledByDefault = true, bool AlwaysOn = false, string? Description = null, PluginLicenseManifest? License = null)Guide: Plugin basics
Parameters
Id: The plugin id (“acme.hello”); also the folder name.Version: The plugin’s version.MinSdkVersion: The oldest SDK the plugin works with (SdkInfo.Version).DisplayName: The name on the Plugins page.EnabledByDefault: False: off until an administrator turns it on.AlwaysOn: True: core functionality that cannot be turned off.Description: One short sentence for the Plugins page.License: The plugin is sold with a license (public key, features, trial days); null = free.
The positional parameters are those of SDK 0.1.0 (constructor and Deconstruct stay binary compatible); later entries are init properties.
Properties
Section titled “Properties”AlwaysOn
Section titled “AlwaysOn”bool AlwaysOn { get; init; }True: core functionality that cannot be turned off.
Description
Section titled “Description”string? Description { get; init; }One short sentence for the Plugins page.
DisplayName
Section titled “DisplayName”string? DisplayName { get; init; }The name on the Plugins page.
EnabledByDefault
Section titled “EnabledByDefault”bool EnabledByDefault { get; init; }False: off until an administrator turns it on.
string Id { get; init; }The plugin id (“acme.hello”); also the folder name.
License
Section titled “License”PluginLicenseManifest? License { get; init; }The plugin is sold with a license (public key, features, trial days); null = free.
MinSdkVersion
Section titled “MinSdkVersion”string MinSdkVersion { get; init; }The oldest SDK the plugin works with (SdkInfo.Version).
bool Pro { get; init; }An OADM PRO plugin: listed for everyone, but the host turns it on only with an active OADM PRO license or trial and turns it off when the license ends (IProLicense).
SitePorts
Section titled “SitePorts”IReadOnlyList<SitePort>? SitePorts { get; init; }Ports the package listens on at sites (relays), known in advance; null = none.
SiteSupport
Section titled “SiteSupport”SiteSupport? SiteSupport { get; init; }Whether the package works with devices at a site; null (not declared) counts as SiteSupport.None.
Version
Section titled “Version”string Version { get; init; }The plugin’s version.