StrictMode.VmPolicy.Builder.DetectUntaggedSockets 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.
Detects any sockets in the calling app which have not been tagged using TrafficStats . Tagging sockets can help you investigate network usage inside your app, such as a narrowing down heavy usage to a specific library or component. This currently does not detect sockets created in native code.
[Android.Runtime.Register("detectUntaggedSockets", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=26)]
public Android.OS.StrictMode.VmPolicy.Builder DetectUntaggedSockets();
[<Android.Runtime.Register("detectUntaggedSockets", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=26)>]
member this.DetectUntaggedSockets : unit -> Android.OS.StrictMode.VmPolicy.Builder
Returns
The returned value is non-null.
- Attributes
Remarks
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.
Java documentation for android.os.StrictMode.VmPolicy.Builder.detectUntaggedSockets().