TetheringManager.RegisterTetheringEventCallback Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Registra la devolución de llamada de evento de tethering especificada.
[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
Parámetros
- executor
- IExecutor
- Atributos