Lenguaje

BluetoothSocketException.ErrorCode Propiedad

Definición

Devuelve el código de error asociado a este error.

public virtual Android.Bluetooth.BluetoothSocketExceptionReason ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)>]
member this.ErrorCode : Android.Bluetooth.BluetoothSocketExceptionReason

Valor de propiedad

El valor es uno de los siguientes: UNSPECIFIED; L2CAP_UNKNOWN; L2CAP_ACL_FAILURE; L2CAP_CLIENT_SECURITY_FAILURE; L2CAP_INSUFFICIENT_AUTHENTICATION; L2CAP_INSUFFICIENT_AUTHORIZATION; L2CAP_INSUFFICIENT_ENCRYPT_KEY_SIZE; L2CAP_INSUFFICIENT_ENCRYPTION; L2CAP_INVALID_SOURCE_CID; L2CAP_SOURCE_CID_ALREADY_ALLOCATED; L2CAP_UNACCEPTABLE_PARAMETERS; L2CAP_INVALID_PARAMETERS; L2CAP_NO_RESOURCES; L2CAP_NO_PSM_AVAILABLE; L2CAP_TIMEOUT; BLUETOOTH_OFF_FAILURE; SOCKET_MANAGER_FAILURE; SOCKET_CLOSED; SOCKET_CONNECTION_FAILURE; NULL_DEVICE; RPC_FAILURE; UNIX_FILE_SOCKET_CREATION_FAILURE

Atributos

Comentarios

Devuelve el código de error asociado a este error.

Java documentación para android.bluetooth.BluetoothSocketException.getErrorCode().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a