LaunchBoxContributors
On this page

PlayActivityContext14.1

Class in Unbroken.LaunchBox.Plugins.Components.Activity

C#
public sealed record PlayActivityContext : IEquatable<PlayActivityContext>
Identifies a selected account or local profile independently of connection lifetime.

Inheritance and interfaces

Constructors

PlayActivityContext

C#
public PlayActivityContext(string contextId, string? connectionId = null)
Creates a context.
contextId
Stable non-secret account/profile ID. Offline sources may use a stable local-profile ID.
connectionId
Optional execution-only connection handle, never a secret.

Properties

ConnectionId

C#
public string? ConnectionId { get; }
Gets the execution-only connection handle.

ContextId

C#
public string ContextId { get; }
Gets the stable account/profile ID.