Udostępnij za pośrednictwem


AppSearchSession.GetNamespaces(IExecutor, IConsumer) Method

Definition

Retrieves the set of all namespaces in the current database with at least one document.

[Android.Runtime.Register("getNamespaces", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=31)]
public void GetNamespaces (Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("getNamespaces", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=31)>]
member this.GetNamespaces : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit

Parameters

executor
IExecutor

Executor on which to invoke the callback.

callback
IConsumer

Callback to receive the namespaces.

Attributes

Remarks

Java documentation for android.app.appsearch.AppSearchSession.getNamespaces(java.util.concurrent.Executor, java.util.function.Consumer<android.app.appsearch.AppSearchResult<java.util.Set<java.lang.String>>>).

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