TrafficStats.ThreadStatsUid Property
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.
Get the active UID used when accounting Socket
traffic originating
from the current thread. -or- Set specific UID to use when accounting Socket
traffic
originating from the current thread.
public static int ThreadStatsUid { [Android.Runtime.Register("getThreadStatsUid", "()I", "", ApiSince=28)] get; [Android.Runtime.Register("setThreadStatsUid", "(I)V", "", ApiSince=28)] set; }
[<get: Android.Runtime.Register("getThreadStatsUid", "()I", "", ApiSince=28)>]
[<set: Android.Runtime.Register("setThreadStatsUid", "(I)V", "", ApiSince=28)>]
static member ThreadStatsUid : int with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Java documentation for android.net.TrafficStats.getThreadStatsUid()
.
Property setter documentation:
Java documentation for android.net.TrafficStats.setThreadStatsUid(int)
.
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.