Added in API level 37
Summary:
Methods
| Inherited Methods
WebAppManager
public
final
class
WebAppManager
extends Object
| java.lang.Object | |
| ↳ | android.content.pm.webapp.WebAppManager |
System service that manages the installation and querying of Web Apps.
This class acts as the entry point for managing Web Apps installed as Android apps.
To obtain an instance of this manager, use Context.getSystemService(Class):
WebAppManager webAppManager = context.getSystemService(WebAppManager.class);
See also:
Summary
Public methods | |
|---|---|
void
|
install(WebAppInstallRequest request, Executor executor, ObjIntConsumer<String> callback)
Requests the installation of a Web App. |
boolean
|
isAvailable()
Checks if the Web App service is available. |
void
|
query(WebAppQueryRequest request, Executor executor, IntConsumer callback)
Queries the status of a specific Web App package. |
Inherited methods | |
|---|---|