
# INotification interface

The `INotification` interface is used by the [`IClient`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IClient.md), [`IServerView`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerView.md), [`IServerDocument`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerDocument.md), [`IServerModule`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerModule.md), [`INotificationHandler`](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/INotificationHandler.md) interfaces.

```csharp
public interface INotification
```

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

**Derived:** [IGUIManagerNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IGUIManagerNotification.md), [IValidateStateTransitionNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IValidateStateTransitionNotification.md), [IValidateStateTransitionNotificationEx](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IValidateStateTransitionNotificationEx.md), [IVaultFileLessDocumentNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IVaultFileLessDocumentNotification.md), [IVaultFileLessReleaseNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IVaultFileLessReleaseNotification.md), [IWebBrowserNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IWebBrowserNotification.md)

## Remarks

The notifications could be a document loading notification, workspace being loaded, an object being navigated, and a server module being loaded.

Notifications as event messages can be broadcasted by the Client system, and any open server documents can receive them and act on them accordingly.

The Broadcast Notification is a system wide notification, and the Dispatch Notification is a server specific notification.

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetNotificationCode](#getnotificationcode) | `int` |  |
| [GetNotificationData](#getnotificationdata) | `object` |  |
| [GetNotificationType](#getnotificationtype) | `string` |  |

### GetNotificationCode

*No description yet.*

```csharp
int GetNotificationCode();
```

**Returns:** `int`

**Examples:** [Ciiva](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Ciiva/Source%20Code/Main.cs#L58), [Extension_Preference](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_Preference/Source%20Code/Main.cs#L56)

### GetNotificationData

*No description yet.*

```csharp
object GetNotificationData();
```

**Returns:** `object`

### GetNotificationType

*No description yet.*

```csharp
string GetNotificationType();
```

**Returns:** `string`

**Examples:** [Ciiva](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Ciiva/Source%20Code/Main.cs#L57), [Extension_Preference](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_Preference/Source%20Code/Main.cs#L55)

## Accepted by

[IClient.BroadcastNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IClient.md#broadcastnotification), [IClient.BroadcastNotificationAsynchronously](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IClient.md#broadcastnotificationasynchronously), [IClient.DispatchNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IClient.md#dispatchnotification), [INotificationHandler.HandleNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/INotificationHandler.md#handlenotification), [IReleasedItemDocument.Notify](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IReleasedItemDocument.md#notify), [IServerDocument.NotifyViews](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerDocument.md#notifyviews), [IServerModule.ReceiveNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerModule.md#receivenotification), [IServerView.ReceiveNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerView.md#receivenotification), [IVaultExplorerForm.ReceiveNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IVaultExplorerForm.md#receivenotification), [IVaultExplorerServer.NotifyModalVaultExplorer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IVaultExplorerServer.md#notifymodalvaultexplorer), [IVaultExplorerServer.NotifySimpleVaultExplorer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IVaultExplorerServer.md#notifysimplevaultexplorer), [IInstrumentView.ReceiveNotification](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IInstrumentView.md#receivenotification)

## Examples

Used in the SDK examples: [Ciiva](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Ciiva/Source%20Code/Main.cs#L55), [Extension_Preference](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_Preference/Source%20Code/Main.cs#L53).
