platform-components-ng/projects/platform-components-lib/src/lib/components/notification/qpp-notification.service.ts
Qpp notification service
Methods |
constructor(http: HttpClient, queryService: QueryService, preferencesService: PreferencesService)
|
||||||||||||
|
Parameters :
|
| Public close |
close()
|
|
Stop listening to message and close channel
Returns :
void
void |
| Async getPreferencesNotifier |
getPreferencesNotifier()
|
|
Get Preferences Notifier
Returns :
Promise<Observable<NotificationMessage>>
Promise<Observable |
| Async init |
init()
|
|
Component life cycle hook
Returns :
any
void |
| publishLocalNotification | ||||||||
publishLocalNotification(notificationMessage: LocalNotificationMessage)
|
||||||||
|
Publish local notfication
Parameters :
Returns :
void
void |
| Async register | ||||||||||||
register(watchQuerySessionId: string, resultId: string)
|
||||||||||||
|
Register
Parameters :
Returns :
Promise<Observable<NotificationMessage>>
Promise<Observable |
| registerForAllAssetNotifications |
registerForAllAssetNotifications()
|
|
Register for local notification of all assets.
Returns :
any
Observable |
| registerForLocalAssetNotification | ||||||||
registerForLocalAssetNotification(assetId: number)
|
||||||||
|
Register for asset Local notification.
Parameters :
Returns :
any
Observable |