AboutSupportDeveloper GuideVersion 18.0.9

Platform object to pass to register function.

import { register, NotificationsPlatform } from '@openfin/workspace/notifications';

const platform: NotificationsPlatform = {
id: 'my-notifications-platform',
title: 'My Notifications Platform',
icon: 'https://link.to/my-notifications-platform.ico'
}

await register(platform);

Hierarchy

  • NotificationsPlatform

Properties

Properties

icon: string

URL of the icon to be displayed for this platform.

id: string

Unique identifier of the platform.

title: string

Stream title.

Providing a different displayName for an existing stream id will update the displayName of the stream stored in Notification Center.