TetheringManager.RegisterTetheringEventCallback Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Inscrit le rappel d’événement de connexion spécifié.
[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
Paramètres
- executor
- IExecutor
- Attributs