Interface IInfoPanelService
Interface for interacting with Socially Distant's info panel.
Namespace: SociallyDistant.Core.Shell.InfoPanel
Assembly: SociallyDistant.Framework.dll
Syntax
public interface IInfoPanelServiceMethods
CloseWidget(int)
Close an opened info widget.
Declaration
void CloseWidget(int widgetId)Parameters
| Type | Name | Description | 
|---|---|---|
| int | widgetId | The unique ID of the widget to remove. | 
CreateCloseableInfoWidget(string, string, string)
Create an info widget that can be closed.
Declaration
int CreateCloseableInfoWidget(string icon, string title, string message)Parameters
| Type | Name | Description | 
|---|---|---|
| string | icon | A text icon for the widget. | 
| string | title | The widget's title text. | 
| string | message | A message to show in the widget. | 
Returns
| Type | Description | 
|---|---|
| int | A unique ID for the widget. | 
CreateStickyInfoWidget(string, string, string)
Create an info widget that appears above everything else.
Declaration
int CreateStickyInfoWidget(string icon, string title, string message)Parameters
| Type | Name | Description | 
|---|---|---|
| string | icon | A text icon for the widget. | 
| string | title | The widget's title text. | 
| string | message | A message to show in the widget. | 
Returns
| Type | Description | 
|---|---|
| int | A unique ID for the widget. |