Sdílet prostřednictvím


TrafficStats.TagDatagramSocket(DatagramSocket) Method

Definition

Tag the given DatagramSocket with any statistics parameters active for the current thread.

[Android.Runtime.Register("tagDatagramSocket", "(Ljava/net/DatagramSocket;)V", "", ApiSince=24)]
public static void TagDatagramSocket (Java.Net.DatagramSocket socket);
[<Android.Runtime.Register("tagDatagramSocket", "(Ljava/net/DatagramSocket;)V", "", ApiSince=24)>]
static member TagDatagramSocket : Java.Net.DatagramSocket -> unit

Parameters

Attributes

Remarks

Java documentation for android.net.TrafficStats.tagDatagramSocket(java.net.DatagramSocket).

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