Skip to content

Latest commit

 

History

History
80 lines (44 loc) · 1.76 KB

EnvironmentService.md

File metadata and controls

80 lines (44 loc) · 1.76 KB

Class: EnvironmentService

Service to expose information about the environment context in which Player is running

Table of contents

Accessors

Methods

Accessors

canPromptInstallApp

Static get canPromptInstallApp(): boolean

Indicates if browser is ready to prompt install app

Returns

boolean

Methods

subscribeToCanPromptInstallChanges

Static subscribeToCanPromptInstallChanges(listener): void

Subscribes to be notified of canPromptInstallApp changes

Parameters

Name Type Description
listener Function listener function

Returns

void


unsubscribeToCanPromptInstallChanges

Static unsubscribeToCanPromptInstallChanges(listener): void

Unsubscribes to be notified of canPromptInstallApp changes

Parameters

Name Type Description
listener Function listener function

Returns

void


promptInstallApp

Static promptInstallApp(): void

Prompt App installation

Returns

void

Help

Found a problem, a bug? Or need some help?
Please do not create an issue in Github! Ask us via our Support page : https://support.intuiface.com/