File

src/app/services/app/app.service.ts

Description

A App service.

Index

Methods

Constructor

constructor(uiService: UiService, swUpdate: SwUpdate)

Constructs the App service. ~constructor

Parameters :
Name Type Optional Description
uiService UiService No

The ui service injected dependency.

swUpdate SwUpdate No

The injected software updater.

Methods

Public detectMedia
detectMedia(beforePrintHandler: PrintCallback, afterPrintHandler: PrintCallback)

Checks for media if print and not normal screen one.

Parameters :
Name Type Optional Description
beforePrintHandler PrintCallback No

Callback used when before printing.

afterPrintHandler PrintCallback No

Callback used when after printing.

Returns : void
Public subscribeUiInvalidated
subscribeUiInvalidated(callback: (uiInvalidated: boolean) => void)

Subscribe events

Parameters :
Name Type Optional
callback function No
Returns : void
Public tryCheckForUpdates
tryCheckForUpdates()

Try check for updates.

Returns : void
Public unsubscribeUiInvalidated
unsubscribeUiInvalidated()

Unsubscribe events

Returns : void

results matching ""

    No results matching ""