
# IEDMS_NotificationService interface

*No description yet.*

```csharp
public interface IEDMS_NotificationService
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [Connect](#connect) | `bool` |  |
| [Disconnect](#disconnect) | `void` |  |
| [GetActiveUsers](#getactiveusers) | [IStrings](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IStrings.md) |  |
| [GetConnected](#getconnected) | `bool` |  |
| [IsUserActive](#isuseractive) | `bool` |  |
| [SendMessage](#sendmessage) | `bool` |  |
| [SetEvents](#setevents) | `void` |  |
| [Subscribe](#subscribe) | `bool` |  |
| [UnSubscribe](#unsubscribe) | `bool` |  |

### Connect

*No description yet.*

```csharp
bool Connect(out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argErrorMsg` | `string` | out |

**Returns:** `bool`

### Disconnect

*No description yet.*

```csharp
void Disconnect();
```

**Returns:** nothing (`void`)

### GetActiveUsers

*No description yet.*

```csharp
IStrings GetActiveUsers();
```

**Returns:** [IStrings](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IStrings.md)

Extension method of `IEDMS_NotificationServiceHelper` (`using DXP;`).

### GetConnected

*No description yet.*

```csharp
bool GetConnected();
```

**Returns:** `bool`

### IsUserActive

*No description yet.*

```csharp
bool IsUserActive(string argUserGUID);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argUserGUID` | `string` | value |

**Returns:** `bool`

### SendMessage

*No description yet.*

```csharp
bool SendMessage(string argChannelName, string argMessageData);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChannelName` | `string` | value |
| `argMessageData` | `string` | value |

**Returns:** `bool`

### SetEvents

*No description yet.*

```csharp
void SetEvents(IEDMS_NotificationServiceEvents argEvents);
void SetEvents(object argEvents);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argEvents` | [IEDMS_NotificationServiceEvents](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_NotificationServiceEvents.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IEDMS_NotificationServiceHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### Subscribe

*No description yet.*

```csharp
bool Subscribe(string argChannelName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChannelName` | `string` | value |

**Returns:** `bool`

### UnSubscribe

*No description yet.*

```csharp
bool UnSubscribe(string argChannelName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argChannelName` | `string` | value |

**Returns:** `bool`

## Returned by

[IEDMS_DXPServerManager.GetNotificationService](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_DXPServerManager.md#getnotificationservice)
