Lingua

WebAppManager.Query(WebAppQueryRequest, IExecutor, IIntConsumer) Method

Definition

Queries the status of a specific Web App package.

[Android.Runtime.Register("query", "(Landroid/content/pm/webapp/WebAppQueryRequest;Ljava/util/concurrent/Executor;Ljava/util/function/IntConsumer;)V", "", ApiSince=37)]
public void Query(Android.Content.PM.Webapp.WebAppQueryRequest request, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IIntConsumer callback);
[<Android.Runtime.Register("query", "(Landroid/content/pm/webapp/WebAppQueryRequest;Ljava/util/concurrent/Executor;Ljava/util/function/IntConsumer;)V", "", ApiSince=37)>]
member this.Query : Android.Content.PM.Webapp.WebAppQueryRequest * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IIntConsumer -> unit

Parameters

request
WebAppQueryRequest

The WebAppQueryRequest containing the package name.

executor
IExecutor

The Executor on which the callback will be invoked.

callback
IIntConsumer

The callback to receive the query result. The int value is one of the result codes defined in WebAppQueryRequest.

Attributes

Remarks

Queries the status of a specific Web App package.

This operation is asynchronous. The system checks if the package is installed by the Web App service and visible to the caller, delivering the result via the provided callback.

Android reference for android.content.pm.webapp.WebAppManager.query.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to