TetheringManager.RegisterTetheringEventCallback Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Registra il callback dell'evento di tethering specificato.
[Android.Runtime.Register("registerTetheringEventCallback", "(Ljava/util/concurrent/Executor;Landroid/net/TetheringManager$TetheringEventCallback;)V", "GetRegisterTetheringEventCallback_Ljava_util_concurrent_Executor_Landroid_net_TetheringManager_TetheringEventCallback_Handler", ApiSince=36)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")]
public virtual void RegisterTetheringEventCallback(Java.Util.Concurrent.IExecutor executor, Android.Net.TetheringManager.ITetheringEventCallback callback);
[<Android.Runtime.Register("registerTetheringEventCallback", "(Ljava/util/concurrent/Executor;Landroid/net/TetheringManager$TetheringEventCallback;)V", "GetRegisterTetheringEventCallback_Ljava_util_concurrent_Executor_Landroid_net_TetheringManager_TetheringEventCallback_Handler", ApiSince=36)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")>]
abstract member RegisterTetheringEventCallback : Java.Util.Concurrent.IExecutor * Android.Net.TetheringManager.ITetheringEventCallback -> unit
override this.RegisterTetheringEventCallback : Java.Util.Concurrent.IExecutor * Android.Net.TetheringManager.ITetheringEventCallback -> unit
Parametri
- executor
- IExecutor
- Attributi