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

DesktopServiceProvider

Extends:

@osjs/common~ServiceProvider → DesktopServiceProvider

OS.js Desktop Service Provider

Constructor Summary

Public Constructor
public

constructor(core: Core)

Member Summary

Public Members
public

Method Summary

Public Methods
public
public

Destroys instance

public

Initializes desktop

public

Get a list of services this provider registers

public

Starts desktop

Public Constructors

public constructor(core: Core) source

Params:

NameTypeAttributeDescription
core Core

OS.js Core

Public Members

public desktop: Desktop source

Public Methods

public createDesktopContract(): DeskopProviderContract source

public destroy() source

Destroys instance

public init(): Promise<undefined> source

Initializes desktop

Return:

Promise<undefined>

public provides(): string[] source

Get a list of services this provider registers

Return:

string[]

public start(): Promise<undefined> source

Starts desktop

Return:

Promise<undefined>