Partager via


ConnectivityDiagnosticsManager.DataStallReport Constructor

Definition

Constructor for DataStallReport.

[Android.Runtime.Register(".ctor", "(Landroid/net/Network;JILandroid/net/LinkProperties;Landroid/net/NetworkCapabilities;Landroid/os/PersistableBundle;)V", "", ApiSince=30)]
public DataStallReport (Android.Net.Network network, long reportTimestamp, int detectionMethod, Android.Net.LinkProperties linkProperties, Android.Net.NetworkCapabilities networkCapabilities, Android.OS.PersistableBundle stallDetails);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Network;JILandroid/net/LinkProperties;Landroid/net/NetworkCapabilities;Landroid/os/PersistableBundle;)V", "", ApiSince=30)>]
new Android.Net.ConnectivityDiagnosticsManager.DataStallReport : Android.Net.Network * int64 * int * Android.Net.LinkProperties * Android.Net.NetworkCapabilities * Android.OS.PersistableBundle -> Android.Net.ConnectivityDiagnosticsManager.DataStallReport

Parameters

network
Network

The Network for which this DataStallReport applies

reportTimestamp
Int64

The timestamp for the report

detectionMethod
Int32

The detection method used to identify this data stall

linkProperties
LinkProperties

The LinkProperties available on network at reportTimestamp

networkCapabilities
NetworkCapabilities

The NetworkCapabilities available on network at reportTimestamp

stallDetails
PersistableBundle

A PersistableBundle that may contain additional info about the report

Attributes

Remarks

Constructor for DataStallReport.

Apps should obtain instances through ConnectivityDiagnosticsCallback#onDataStallSuspected instead of instantiating their own instances (unless for testing purposes).

Java documentation for android.net.ConnectivityDiagnosticsManager.DataStallReport.ConnectivityDiagnosticsManager$DataStallReport(android.net.Network, long, int, android.net.LinkProperties, android.net.NetworkCapabilities, android.os.PersistableBundle).

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