Språk

UrlRequest.TrafficStatsUid Property

Definition

public abstract int TrafficStatsUid { [Android.Runtime.Register("getTrafficStatsUid", "()I", "GetGetTrafficStatsUidHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getTrafficStatsUid", "()I", "GetGetTrafficStatsUidHandler", ApiSince=34)>]
member this.TrafficStatsUid : int

Property Value

The configured UID for socket traffic accounting.

Attributes

Exceptions

No traffic UID was set. Check HasTrafficStatsUid before reading this property.

Remarks

See SetTrafficStatsUid(Int32).

Android reference for android.net.http.UrlRequest.getTrafficStatsUid.

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