Class NotificationMessage
- Namespace
- Playnite
- Assembly
- Playnite.SDK.dll
public class NotificationMessage
- Inheritance
-
NotificationMessage
- Inherited Members
-
Constructors
NotificationMessage(string, string, NotificationSeverity)
public NotificationMessage(string id, string text, NotificationSeverity severity)
Parameters
id string
text string
severity NotificationSeverity
NotificationMessage(string, string, NotificationSeverity, Action)
public NotificationMessage(string id, string text, NotificationSeverity severity, Action invokeAction)
Parameters
id string
text string
severity NotificationSeverity
invokeAction Action
NotificationMessage(string, string, NotificationSeverity, Func<Task>)
public NotificationMessage(string id, string text, NotificationSeverity severity, Func<Task> invokeActionAsync)
Parameters
id string
text string
severity NotificationSeverity
invokeActionAsync Func<Task>
Properties
Id
public string Id { get; }
Property Value
- string
Severity
public NotificationSeverity Severity { get; }
Property Value
- NotificationSeverity
Text
public string Text { get; }
Property Value
- string
Methods
InvokeAsync()
public Task InvokeAsync()
Returns
- Task