src/app/services/app/app.service.ts
A App service.
Methods |
|
constructor(uiService: UiService, swUpdate: SwUpdate)
|
||||||||||||
Constructs the App service. ~constructor
Parameters :
|
Public detectMedia | ||||||||||||
detectMedia(beforePrintHandler: PrintCallback, afterPrintHandler: PrintCallback)
|
||||||||||||
Checks for media if print and not normal screen one.
Parameters :
Returns :
void
|
Public subscribeUiInvalidated | ||||||
subscribeUiInvalidated(callback: (uiInvalidated: boolean) => void)
|
||||||
Subscribe events
Parameters :
Returns :
void
|
Public tryCheckForUpdates |
tryCheckForUpdates()
|
Try check for updates.
Returns :
void
|
Public unsubscribeUiInvalidated |
unsubscribeUiInvalidated()
|
Unsubscribe events
Returns :
void
|