Condividi tramite


ConnectivityManager.CreateSocketKeepalive Metodo

Definizione

[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

Restituisce

Attributi

Si applica a