Язык

BluetoothSocketException.ErrorCode Свойство

Определение

Возвращает код ошибки, связанный с этим сбоем.

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

Значение свойства

Значение имеет одно из следующих значений: L2CapUnknownL2CapInsufficientAuthenticationNullDeviceL2CapTimeoutL2CapClientSecurityFailureBluetoothOffFailureSocketConnectionFailureL2CapNoPsmAvailableRpcFailureSocketClosedSocketManagerFailureL2CapNoResourcesL2CapInvalidParametersL2CapUnacceptableParametersL2CapSourceCidAlreadyAllocatedL2CapInsufficientEncryptionL2CapInsufficientAuthorizationL2CapInvalidSourceCidUnspecifiedL2CapAclFailureL2CapInsufficientEncryptKeySize;UnixFileSocketCreationFailure

Атрибуты

Комментарии

Возвращает код ошибки, связанный с этим сбоем.

Java документации по android.bluetooth.BluetoothSocketException.getErrorCode().

Части этой страницы — это изменения на основе работы, созданной и общей Project и используемых в соответствии с условиями, описанными в разделе "".

Применяется к