Since: API level 34
public static class

PeripheralConstants.ErrorCode

extends Object
java.lang.Object
   ↳ com.samsung.android.knox.ex.peripheral.PeripheralConstants.ErrorCode

Deprecated in API level 37

Class Overview

This class defines Peripheral ErrorCode.

Since
API level 34
Knox 3.7.1

Summary

Constants
int ERROR_FRAMEWORK_CONNECTION_FAIL Deprecated in API level 37
int ERROR_FRAMEWORK_INTERNAL Deprecated in API level 37
int ERROR_FRAMEWORK_INVALID_PROFILE Deprecated in API level 37
int ERROR_FRAMEWORK_NOT_ENABLED Deprecated in API level 37
int ERROR_FRAMEWORK_NOT_STARTED Deprecated in API level 37
int ERROR_FRAMEWORK_PERMISSION_NOT_ALLOWED Deprecated in API level 37
int ERROR_FRAMEWORK_UNKNOWN Deprecated in API level 37
int ERROR_FRAMEWORK_WRONG_INPUT Deprecated in API level 37
int ERROR_FRAMEWORK_WRONG_STATE Deprecated in API level 37
int ERROR_NONE Deprecated in API level 37
int ERROR_NOT_SUPPORTED Deprecated in API level 37
int ERROR_PERIPHERAL_CONNECTION_FAIL Deprecated in API level 37
int ERROR_PERIPHERAL_CONNECTIVITY_NOT_SUPPORTED Deprecated in API level 37
int ERROR_PERIPHERAL_CUSTOM_BASE Deprecated in API level 37
int ERROR_PERIPHERAL_NOT_FOUND Deprecated in API level 37
int ERROR_PERIPHERAL_PERMISSION_NOT_ALLOWED Deprecated in API level 37
int ERROR_PERIPHERAL_UNKNOWN Deprecated in API level 37
int ERROR_PERIPHERAL_WRONG_INPUT Deprecated in API level 37
int ERROR_PERIPHERAL_WRONG_STATE Deprecated in API level 37
int ERROR_PLUGIN_CONNECTION_FAIL Deprecated in API level 37
int ERROR_PLUGIN_CUSTOM_BASE Deprecated in API level 37
int ERROR_PLUGIN_NOT_FOUND Deprecated in API level 37
int ERROR_PLUGIN_PERMISSION_NOT_ALLOWED Deprecated in API level 37
int ERROR_PLUGIN_UNKNOWN Deprecated in API level 37
int ERROR_PLUGIN_WRONG_INPUT Deprecated in API level 37
int ERROR_PLUGIN_WRONG_STATE Deprecated in API level 37
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ERROR_FRAMEWORK_CONNECTION_FAIL

Since: API level 34

Deprecated in API level 37

Indicates framework error - fail to connect PeripheralService.

Since
API level 34
KNOX 3.7.1
Constant Value: 4 (0x00000004)

public static final int ERROR_FRAMEWORK_INTERNAL

Since: API level 34

Deprecated in API level 37

Indicates framework error - internal.

Since
API level 34
KNOX 3.7.1
Constant Value: 3 (0x00000003)

public static final int ERROR_FRAMEWORK_INVALID_PROFILE

Since: API level 34

Deprecated in API level 37

Indicates framework error - invalid profile.

Since
API level 34
KNOX 3.7.1
Constant Value: 10 (0x0000000a)

public static final int ERROR_FRAMEWORK_NOT_ENABLED

Since: API level 34

Deprecated in API level 37

Indicates framework error - framework is not enabled.

Since
API level 34
KNOX 3.7.1
Constant Value: 7 (0x00000007)

public static final int ERROR_FRAMEWORK_NOT_STARTED

Since: API level 34

Deprecated in API level 37

Indicates framework error - framework is enabled, but not started.

Since
API level 34
KNOX 3.7.1
Constant Value: 8 (0x00000008)

public static final int ERROR_FRAMEWORK_PERMISSION_NOT_ALLOWED

Since: API level 34

Deprecated in API level 37

Indicates framework error - permission not allowed to access PeripheralService.

Since
API level 34
KNOX 3.7.1
Constant Value: 5 (0x00000005)

public static final int ERROR_FRAMEWORK_UNKNOWN

Since: API level 34

Deprecated in API level 37

Indicates framework error - Unknown.

Since
API level 34
KNOX 3.7.1
Constant Value: 2 (0x00000002)

public static final int ERROR_FRAMEWORK_WRONG_INPUT

Since: API level 34

Deprecated in API level 37

Indicates framework error - input data is wrong.

Since
API level 34
KNOX 3.7.1
Constant Value: 9 (0x00000009)

public static final int ERROR_FRAMEWORK_WRONG_STATE

Since: API level 34

Deprecated in API level 37

Indicates framework error - framework is not available due to wrong state.

Since
API level 34
KNOX 3.7.1
Constant Value: 6 (0x00000006)

public static final int ERROR_NONE

Since: API level 34

Deprecated in API level 37

Indicates success.

Since
API level 34
KNOX 3.7.1
Constant Value: 0 (0x00000000)

public static final int ERROR_NOT_SUPPORTED

Since: API level 34

Deprecated in API level 37

Indicates ERROR - NOT SUPPORTED.

Since
API level 34
KNOX 3.7.1
Constant Value: 1 (0x00000001)

public static final int ERROR_PERIPHERAL_CONNECTION_FAIL

Since: API level 34

Deprecated in API level 37

Indicates peripheral error - failed to connect peripheral or disconnected.

Since
API level 34
KNOX 3.7.1
Constant Value: 4098 (0x00001002)

public static final int ERROR_PERIPHERAL_CONNECTIVITY_NOT_SUPPORTED

Since: API level 34

Deprecated in API level 37

Indicates peripheral error - connectivity is not supported.

Since
API level 34
KNOX 3.7.1
Constant Value: 4102 (0x00001006)

public static final int ERROR_PERIPHERAL_CUSTOM_BASE

Since: API level 34

Deprecated in API level 37

Indicates peripheral custom error base. Please define custom error from ERROR_PERIPHERAL_CUSTOM_BASE.

Since
API level 34
KNOX 3.7.1
Constant Value: 8192 (0x00002000)

public static final int ERROR_PERIPHERAL_NOT_FOUND

Since: API level 34

Deprecated in API level 37

Indicates peripheral error - can not find peripheral.

Since
API level 34
KNOX 3.7.1
Constant Value: 4097 (0x00001001)

public static final int ERROR_PERIPHERAL_PERMISSION_NOT_ALLOWED

Since: API level 34

Deprecated in API level 37

Indicates peripheral error - plugin or app is not allowed to access peripheral.

Since
API level 34
KNOX 3.7.1
Constant Value: 4099 (0x00001003)

public static final int ERROR_PERIPHERAL_UNKNOWN

Since: API level 34

Deprecated in API level 37

Indicates peripheral error - unknown.

Since
API level 34
KNOX 3.7.1
Constant Value: 4096 (0x00001000)

public static final int ERROR_PERIPHERAL_WRONG_INPUT

Since: API level 34

Deprecated in API level 37

Indicates peripheral error - input is wrong.

Since
API level 34
KNOX 3.7.1
Constant Value: 4101 (0x00001005)

public static final int ERROR_PERIPHERAL_WRONG_STATE

Since: API level 34

Deprecated in API level 37

Indicates peripheral error - peripheral state is wrong.

Since
API level 34
KNOX 3.7.1
Constant Value: 4100 (0x00001004)

public static final int ERROR_PLUGIN_CONNECTION_FAIL

Since: API level 34

Deprecated in API level 37

Indicates plugin error - failed to connect plugin or disconnected.

Since
API level 34
KNOX 3.7.1
Constant Value: 258 (0x00000102)

public static final int ERROR_PLUGIN_CUSTOM_BASE

Since: API level 36

Deprecated in API level 37

Constant Value: 1280 (0x00000500)

public static final int ERROR_PLUGIN_NOT_FOUND

Since: API level 34

Deprecated in API level 37

Indicates plugin error - cann not find plugin.

Since
API level 34
KNOX 3.7.1
Constant Value: 257 (0x00000101)

public static final int ERROR_PLUGIN_PERMISSION_NOT_ALLOWED

Since: API level 34

Deprecated in API level 37

Indicates plugin error - app or framework is not allowed to access plugin.

Since
API level 34
KNOX 3.7.1
Constant Value: 259 (0x00000103)

public static final int ERROR_PLUGIN_UNKNOWN

Since: API level 34

Deprecated in API level 37

Indicates plugin error - unknown.

Since
API level 34
KNOX 3.7.1
Constant Value: 256 (0x00000100)

public static final int ERROR_PLUGIN_WRONG_INPUT

Since: API level 34

Deprecated in API level 37

Indicates plugin error - input is wrong.

Since
API level 34
KNOX 3.7.1
Constant Value: 261 (0x00000105)

public static final int ERROR_PLUGIN_WRONG_STATE

Since: API level 34

Deprecated in API level 37

Indicates plugin error - plugin state is wrong.

Since
API level 34
KNOX 3.7.1
Constant Value: 260 (0x00000104)