Share via


AppSearchSession.GetStorageInfo(IExecutor, IConsumer) Method

Definition

Gets the storage info for this AppSearchSession database.

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

Attributes

Remarks

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

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