ConnectivityManager.CreateSocketKeepalive Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
[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
Parameter
- network
- Network
- source
- InetAddress
- destination
- InetAddress
- executor
- IExecutor
- callback
- SocketKeepalive.Callback
Gibt zurück
- Attribute