AppSearchSession.GetSchema(IExecutor, IConsumer) Method

Definition

Retrieves the schema most recently successfully provided to #setSchema.

[Android.Runtime.Register("getSchema", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=31)]
public void GetSchema (Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("getSchema", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=31)>]
member this.GetSchema : 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 pending results of schema.

Attributes

Remarks

Java documentation for android.app.appsearch.AppSearchSession.getSchema(java.util.concurrent.Executor, java.util.function.Consumer<android.app.appsearch.AppSearchResult<android.app.appsearch.GetSchemaResponse>>).

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