Language

NetworkValidationResult Enum

Definition

Defines values used by the Android NetworkValidationResult API.

public enum NetworkValidationResult
type NetworkValidationResult = 
Inheritance
NetworkValidationResult

Fields

Name Value Description
Invalid 0

The overall status of the network is that it is invalid; it neither provides connectivity nor has been exempted from validation.

Android reference for android.net.ConnectivityDiagnosticsManager.ConnectivityReport.NETWORK_VALIDATION_RESULT_INVALID.

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.

Valid 1

The overall status of the network is that it is valid, this may be because it provides full Internet access (all probes succeeded), or because other properties of the network caused probes not to be run.

Android reference for android.net.ConnectivityDiagnosticsManager.ConnectivityReport.NETWORK_VALIDATION_RESULT_VALID.

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.

PartiallyValid 2

The overall status of the network is that it provides partial connectivity; some probed services succeeded but others failed.

Android reference for android.net.ConnectivityDiagnosticsManager.ConnectivityReport.NETWORK_VALIDATION_RESULT_PARTIALLY_VALID.

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.

Skipped 3

Due to the properties of the network, validation was not performed.

Android reference for android.net.ConnectivityDiagnosticsManager.ConnectivityReport.NETWORK_VALIDATION_RESULT_SKIPPED.

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