Language

ScanResultCode Enum

Definition

Identifies the result of a telephony network scan.

public enum ScanResultCode
type ScanResultCode = 
Inheritance
ScanResultCode

Fields

Name Value Description
Success 0

The RIL has successfully performed the network scan.

Android reference for android.telephony.NetworkScan.SUCCESS.

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.

ErrorModemError 1

The scan has failed due to some modem errors.

Android reference for android.telephony.NetworkScan.ERROR_MODEM_ERROR.

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.

ErrorInvalidScan 2

The parameters of the scan are invalid.

Android reference for android.telephony.NetworkScan.ERROR_INVALID_SCAN.

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.

ErrorModemUnavailable 3

The modem can not perform the scan because it is doing something else.

Android reference for android.telephony.NetworkScan.ERROR_MODEM_UNAVAILABLE.

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.

ErrorUnsupported 4

The modem does not support the requested scan.

Android reference for android.telephony.NetworkScan.ERROR_UNSUPPORTED.

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.

ErrorRadioInterfaceError 10000

The RIL returns nothing or exceptions.

Android reference for android.telephony.NetworkScan.ERROR_RADIO_INTERFACE_ERROR.

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.

ErrorInvalidScanid 10001

The scan ID is invalid. The user is either trying to stop a scan that does not exist or was started by someone else.

Android reference for android.telephony.NetworkScan.ERROR_INVALID_SCANID.

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.

ErrorInterrupted 10002

The scan has been interrupted by another scan with higher priority.

Android reference for android.telephony.NetworkScan.ERROR_INTERRUPTED.

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.

Remarks

Errors include unsupported or invalid requests and a scan interrupted by a higher-priority scan.

Applies to