다음을 통해 공유


SocketKeepalive.Callback.OnDataReceived Method

Definition

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.

Applies to