ProviderItemData14.1
Class in Unbroken.LaunchBox.Plugins.Models.Items
public sealed class ProviderItemData
Contains bounded, versioned, integration-defined evidence for a game or additional application.
Remarks
The payload is opaque to the host and must contain only evidence specific to that item. It must not contain credentials, access tokens, secrets, or account-private data.Constructors
ProviderItemDataInitializes a new instance of the ProviderItemData class.
ProviderItemData
public ProviderItemData(string format, int version, string payload)
Initializes a new instance of the ProviderItemData class.
format- The provider-defined payload format identifier.
version- The positive provider-defined format version.
payload- The bounded serialized payload.
Fields
MaximumFormatLengthSpecifies the maximum permitted length of ProviderItemData.Format.MaximumPayloadLengthSpecifies the maximum permitted length of ProviderItemData.Payload.
MaximumFormatLength
public const int MaximumFormatLength = 128Specifies the maximum permitted length of ProviderItemData.Format.
MaximumPayloadLength
public const int MaximumPayloadLength = 65536Specifies the maximum permitted length of ProviderItemData.Payload.
Properties
FormatGets the provider-defined payload format identifier.PayloadGets the serialized provider-defined payload.VersionGets the positive provider-defined format version.
Format
public string Format { get; }Gets the provider-defined payload format identifier.
Payload
public string Payload { get; }Gets the serialized provider-defined payload.
Version
public int Version { get; }Gets the positive provider-defined format version.