PlayServicesStorage.GlobalSearchContext.Builder


public final class PlayServicesStorage.GlobalSearchContext.Builder


Builder for GlobalSearchContext objects.

Summary

Public constructors

Public constructors

Builder

Added in 1.1.0-alpha07
public Builder(@NonNull Context context)

Public methods

setWorkerExecutor

Added in 1.1.0-alpha07
public @NonNull PlayServicesStorage.GlobalSearchContext.Builder setWorkerExecutor(@NonNull Executor executor)

Sets the worker executor associated with GlobalSearchSession.

If an executor is not provided, the AppSearch default executor will be used.

Parameters
@NonNull Executor executor

the worker executor used to run heavy background tasks.