ConnectivityManager.CreateSocketKeepalive メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
[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
パラメーター
- network
- Network
- source
- InetAddress
- destination
- InetAddress
- executor
- IExecutor
- callback
- SocketKeepalive.Callback
戻り値
- 属性