Home Reference Source
import NotificationServiceProvider from '@osjs/client/src/providers/notifications.js'
public class | source

NotificationServiceProvider

Extends:

@osjs/common~ServiceProvider → NotificationServiceProvider

OS.js Notification Service Provider

Constructor Summary

Public Constructor
public

constructor(core: Core)

Member Summary

Public Members
public

Method Summary

Public Methods
public

Destroys notifications

public

Initializes authentication

public

Get a list of services this provider registers

Public Constructors

public constructor(core: Core) source

Params:

NameTypeAttributeDescription
core Core

OS.js Core

Public Members

public notifications: Notifications source

Public Methods

public destroy() source

Destroys notifications

public init(): Promise<undefined> source

Initializes authentication

Return:

Promise<undefined>

public provides(): string[] source

Get a list of services this provider registers

Return:

string[]