Język

BluetoothSocketExceptionReason Enum

Definition

public enum BluetoothSocketExceptionReason
type BluetoothSocketExceptionReason = 
Inheritance
BluetoothSocketExceptionReason

Fields

Name Value Description
Unspecified 0

Error code representing a failure during BluetoothSocket. The reason for failure isn't specified.

Android reference for android.bluetooth.BluetoothSocketException.UNSPECIFIED.

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.

L2CapUnknown 1

Error code returned by BluetoothSocket during a L2CAP-related socket operation that failed for an unknown reason.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_UNKNOWN.

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.

L2CapAclFailure 2

Error code during connect when there is an ACL connection failure.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_ACL_FAILURE.

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.

L2CapClientSecurityFailure 3

Error code during connect when security clearance fails on the client during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_CLIENT_SECURITY_FAILURE.

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.

L2CapInsufficientAuthentication 4

Error code during connect when authentication fails on the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_INSUFFICIENT_AUTHENTICATION.

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.

L2CapInsufficientAuthorization 5

Error code during connect when authorization fails on the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_INSUFFICIENT_AUTHORIZATION.

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.

L2CapInsufficientEncryptKeySize 6

Error code during connect indicating insufficient encryption key size on the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_INSUFFICIENT_ENCRYPT_KEY_SIZE.

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.

L2CapInsufficientEncryption 7

Error code during connect for insufficient encryption from the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_INSUFFICIENT_ENCRYPTION.

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.

L2CapInvalidSourceCid 8

Error code during connect for invalid Channel ID from the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_INVALID_SOURCE_CID.

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.

L2CapSourceCidAlreadyAllocated 9

Error code during connect for already allocated Channel ID from the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_SOURCE_CID_ALREADY_ALLOCATED.

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.

L2CapUnacceptableParameters 10

Error code during connect for unacceptable Parameters from the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_UNACCEPTABLE_PARAMETERS.

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.

L2CapInvalidParameters 11

Error code during connect for invalid parameters from the peer device during L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_INVALID_PARAMETERS.

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.

L2CapNoResources 12

Error code during connect when no resources are available for L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_NO_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.

L2CapNoPsmAvailable 13

Error code during connect when no PSM is available for L2CAP connection.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_NO_PSM_AVAILABLE.

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.

L2CapTimeout 14

Error code during connect when L2CAP connection timeout.

Android reference for android.bluetooth.BluetoothSocketException.L2CAP_TIMEOUT.

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.

BluetoothOffFailure 15

Error code returned by BluetoothSocket during a socket operation that failed because Bluetooth is turned off.

Android reference for android.bluetooth.BluetoothSocketException.BLUETOOTH_OFF_FAILURE.

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.

SocketManagerFailure 16

Error code returned by BluetoothSocket during a socket operation that failed because socket manager is not available.

Android reference for android.bluetooth.BluetoothSocketException.SOCKET_MANAGER_FAILURE.

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.

SocketClosed 17

Error code returned by BluetoothSocket during a socket operation that failed because the socket has been closed.

Android reference for android.bluetooth.BluetoothSocketException.SOCKET_CLOSED.

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.

SocketConnectionFailure 18

Error code during connect for generic socket connection failures.

Android reference for android.bluetooth.BluetoothSocketException.SOCKET_CONNECTION_FAILURE.

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.

NullDevice 19

Error code during connect when null device attempts to do socket connection.

Android reference for android.bluetooth.BluetoothSocketException.NULL_DEVICE.

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.

RpcFailure 20

Error code during connect when a Runtime RPC exception occurs.

Android reference for android.bluetooth.BluetoothSocketException.RPC_FAILURE.

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.

UnixFileSocketCreationFailure 21

Error code during connect when the UNIX socket connection creation fails.

Android reference for android.bluetooth.BluetoothSocketException.UNIX_FILE_SOCKET_CREATION_FAILURE.

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