Freigeben über


GlobalSearchSession.RegisterObserverCallback Method

Definition

[Android.Runtime.Register("registerObserverCallback", "(Ljava/lang/String;Landroid/app/appsearch/observer/ObserverSpec;Ljava/util/concurrent/Executor;Landroid/app/appsearch/observer/ObserverCallback;)V", "GetRegisterObserverCallback_Ljava_lang_String_Landroid_app_appsearch_observer_ObserverSpec_Ljava_util_concurrent_Executor_Landroid_app_appsearch_observer_ObserverCallback_Handler", ApiSince=33)]
public virtual void RegisterObserverCallback (string targetPackageName, Android.App.AppSearch.Observers.ObserverSpec spec, Java.Util.Concurrent.IExecutor executor, Android.App.AppSearch.Observers.IObserverCallback observer);
[<Android.Runtime.Register("registerObserverCallback", "(Ljava/lang/String;Landroid/app/appsearch/observer/ObserverSpec;Ljava/util/concurrent/Executor;Landroid/app/appsearch/observer/ObserverCallback;)V", "GetRegisterObserverCallback_Ljava_lang_String_Landroid_app_appsearch_observer_ObserverSpec_Ljava_util_concurrent_Executor_Landroid_app_appsearch_observer_ObserverCallback_Handler", ApiSince=33)>]
abstract member RegisterObserverCallback : string * Android.App.AppSearch.Observers.ObserverSpec * Java.Util.Concurrent.IExecutor * Android.App.AppSearch.Observers.IObserverCallback -> unit
override this.RegisterObserverCallback : string * Android.App.AppSearch.Observers.ObserverSpec * Java.Util.Concurrent.IExecutor * Android.App.AppSearch.Observers.IObserverCallback -> unit

Parameters

targetPackageName
String
executor
IExecutor
Attributes

Applies to