Skip to content

TaskDialogResult

Record in Oadm.Sdk.Client · Oadm.Sdk.Client.dll

What a task plugin dialog returns: the payload and the devices the task runs on (a subset of the selection).

public sealed record TaskDialogResult(string PayloadJson, IReadOnlyList<Guid> DeviceIds)

Parameters

  • PayloadJson: The payload JSON sent to the server.
  • DeviceIds: The selected devices the task runs on; the host ignores ids that were not selected.
IReadOnlyList<Guid> DeviceIds { get; init; }

The selected devices the task runs on; the host ignores ids that were not selected.

string PayloadJson { get; init; }

The payload JSON sent to the server.