Język

ErrorCode Enum

Definition

Defines values used by the Android ErrorCode API.

public enum ErrorCode
type ErrorCode = 
Inheritance
ErrorCode

Fields

Name Value Description
InsufficientResources -32

Resources are insufficient (e.g. all hardware slots are in use).

Android reference for android.net.SocketKeepalive.ERROR_INSUFFICIENT_RESOURCES.

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.

HardwareError -31

There was a hardware error.

Android reference for android.net.SocketKeepalive.ERROR_HARDWARE_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.

Unsupported -30

The request is unsupported.

Android reference for android.net.SocketKeepalive.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.

SocketNotIdle -26

The socket is not idle.

Android reference for android.net.SocketKeepalive.ERROR_SOCKET_NOT_IDLE.

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.

InvalidSocket -25

The socket is invalid.

Android reference for android.net.SocketKeepalive.ERROR_INVALID_SOCKET.

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.

InvalidInterval -24

The interval is invalid (e.g. too short).

Android reference for android.net.SocketKeepalive.ERROR_INVALID_INTERVAL.

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.

InvalidLength -23

The length is invalid (e.g. too long).

Android reference for android.net.SocketKeepalive.ERROR_INVALID_LENGTH.

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.

InvalidPort -22

The port is invalid.

Android reference for android.net.SocketKeepalive.ERROR_INVALID_PORT.

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.

InvalidIpAddress -21

The invalid IP addresses. Indicates the specified IP addresses are invalid. For example, the specified source IP address is not configured on the specified Network.

Android reference for android.net.SocketKeepalive.ERROR_INVALID_IP_ADDRESS.

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.

InvalidNetwork -20

The invalid network. It indicates the specified Network is not connected.

Android reference for android.net.SocketKeepalive.ERROR_INVALID_NETWORK.

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