SocketKeepalive.Callback.OnDataReceived Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The keepalive on a TCP socket was stopped because the socket received data.
[Android.Runtime.Register("onDataReceived", "()V", "GetOnDataReceivedHandler", ApiSince=29)]
public virtual void OnDataReceived ();
[<Android.Runtime.Register("onDataReceived", "()V", "GetOnDataReceivedHandler", ApiSince=29)>]
abstract member OnDataReceived : unit -> unit
override this.OnDataReceived : unit -> unit
- Attributes
Remarks
The keepalive on a TCP socket was stopped because the socket received data. This is never called for UDP sockets.
Java documentation for android.net.SocketKeepalive.Callback.onDataReceived()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.