ConnectivityManager.CreateSocketKeepalive 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.
[Android.Runtime.Register("createSocketKeepalive", "(Landroid/net/Network;Landroid/net/IpSecManager$UdpEncapsulationSocket;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/util/concurrent/Executor;Landroid/net/SocketKeepalive$Callback;)Landroid/net/SocketKeepalive;", "GetCreateSocketKeepalive_Landroid_net_Network_Landroid_net_IpSecManager_UdpEncapsulationSocket_Ljava_net_InetAddress_Ljava_net_InetAddress_Ljava_util_concurrent_Executor_Landroid_net_SocketKeepalive_Callback_Handler", ApiSince=29)]
public virtual Android.Net.SocketKeepalive CreateSocketKeepalive (Android.Net.Network network, Android.Net.IpSecManager.UdpEncapsulationSocket socket, Java.Net.InetAddress source, Java.Net.InetAddress destination, Java.Util.Concurrent.IExecutor executor, Android.Net.SocketKeepalive.Callback callback);
[<Android.Runtime.Register("createSocketKeepalive", "(Landroid/net/Network;Landroid/net/IpSecManager$UdpEncapsulationSocket;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/util/concurrent/Executor;Landroid/net/SocketKeepalive$Callback;)Landroid/net/SocketKeepalive;", "GetCreateSocketKeepalive_Landroid_net_Network_Landroid_net_IpSecManager_UdpEncapsulationSocket_Ljava_net_InetAddress_Ljava_net_InetAddress_Ljava_util_concurrent_Executor_Landroid_net_SocketKeepalive_Callback_Handler", ApiSince=29)>]
abstract member CreateSocketKeepalive : Android.Net.Network * Android.Net.IpSecManager.UdpEncapsulationSocket * Java.Net.InetAddress * Java.Net.InetAddress * Java.Util.Concurrent.IExecutor * Android.Net.SocketKeepalive.Callback -> Android.Net.SocketKeepalive
override this.CreateSocketKeepalive : Android.Net.Network * Android.Net.IpSecManager.UdpEncapsulationSocket * Java.Net.InetAddress * Java.Net.InetAddress * Java.Util.Concurrent.IExecutor * Android.Net.SocketKeepalive.Callback -> Android.Net.SocketKeepalive
Parametri
- network
- Network
- source
- InetAddress
- destination
- InetAddress
- executor
- IExecutor
- callback
- SocketKeepalive.Callback
Restituisce
- Attributi