public interface ReturnCode
DeviceManager| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
ERR_ABANDON_BY_NEW_REQUEST |
Indicates that the existing request is aborted due to a new request.
|
static int |
ERR_ADD_MEMBER_FAIL |
Indicates that an error occurs when the application sends a request to join a group.
|
static int |
ERR_CALLBACK_ALREADY_EXIST |
Indicates that the callback to be registered for listening for device state changes has been registered.
|
static int |
ERR_CALLBACK_OUT_OF_LIMIT |
Indicates that the number of registered callbacks used for listening for device state changes exceeds the
upper limit.
|
static int |
ERR_CHANNEL_BROKEN |
Indicates that the cross-device channel is broken ungracefully.
|
static int |
ERR_CONNECT_DISCOVERY_SERVICE_FAIL |
Indicates that the discovery service fails to be connected.
|
static int |
ERR_CREATE_GROUP_FAIL |
Indicates that the group fails to be created.
|
static int |
ERR_DISCOVERY_SERVICE_DISCONNECTED |
Indicates that the discovery service is disconnected.
|
static int |
ERR_DM_SERVICE_DISCONNECTED |
Indicates that the device management service is not connected.
|
static int |
ERR_GET_LOCAL_DEVICE_INFO_FAIL |
Indicates that the local device information fails to be obtained.
|
static int |
ERR_JOIN_GROUP_FAIL |
Indicates that the application fails to join the group.
|
static int |
ERR_NOT_FOREGROUND_APP_WHEN_CALL |
Indicates that the application being called is not in the foreground.
|
static int |
ERR_NOT_FOREGROUND_APP_WHEN_RUN |
Indicates that the running application is not in the foreground.
|
static int |
ERR_OPEN_CHANNEL_FAIL |
Indicates that the cross-device channel fails to be opened.
|
static int |
ERR_PARA_INVALID |
Indicates that the input parameters are invalid.
|
static int |
ERR_REGISTER_DESTROYED |
Indicates that the callback to be registered for listening for device state changes has been destroyed.
|
static int |
ERR_REQUEST_CANCEL |
Indicates that the request is cancelled.
|
static int |
ERR_REQUEST_QR_FAIL |
Indicates that the QR code fails to be generated.
|
static int |
ERR_SESSION_NOT_EXIST |
Indicates that the session information does not exist.
|
static int |
ERR_SET_FRIEND_LIST_FAIL |
Indicates that the allow list for group access fails to be set.
|
static int |
ERR_START_REMOTE_DM |
Indicates that the remote device management service fails to be started.
|
static int |
ERR_TIMEOUT |
Indicates that the request times out.
|
static int |
ERR_UNREGISTER_CALLBACK_NOT_EXIST |
Indicates that the callback to be unregistered does not exist.
|
static int |
ERR_USER_BUSY |
Indicates that the remote device is busy and the request is rejected.
|
static int |
ERR_USER_REJECT |
Indicates that the request is rejected by the remote user.
|
static int |
ERR_WRITE_EXT_INFO_FAIL |
Indicates that the group information fails to be written.
|
static int |
STOP_MIGRATE_ACTION |
Indicates that the current task migration is cancelled.
|
static int |
SUCCESS |
Indicates that the method call is successful.
|
static final int ERR_ABANDON_BY_NEW_REQUEST
static final int ERR_ADD_MEMBER_FAIL
static final int ERR_CALLBACK_ALREADY_EXIST
static final int ERR_CALLBACK_OUT_OF_LIMIT
static final int ERR_CHANNEL_BROKEN
static final int ERR_CONNECT_DISCOVERY_SERVICE_FAIL
static final int ERR_CREATE_GROUP_FAIL
static final int ERR_DISCOVERY_SERVICE_DISCONNECTED
static final int ERR_DM_SERVICE_DISCONNECTED
static final int ERR_GET_LOCAL_DEVICE_INFO_FAIL
static final int ERR_JOIN_GROUP_FAIL
static final int ERR_NOT_FOREGROUND_APP_WHEN_CALL
static final int ERR_NOT_FOREGROUND_APP_WHEN_RUN
static final int ERR_OPEN_CHANNEL_FAIL
static final int ERR_PARA_INVALID
static final int ERR_REGISTER_DESTROYED
static final int ERR_REQUEST_CANCEL
static final int ERR_REQUEST_QR_FAIL
static final int ERR_SESSION_NOT_EXIST
static final int ERR_SET_FRIEND_LIST_FAIL
static final int ERR_START_REMOTE_DM
static final int ERR_TIMEOUT
static final int ERR_UNREGISTER_CALLBACK_NOT_EXIST
static final int ERR_USER_BUSY
static final int ERR_USER_REJECT
static final int ERR_WRITE_EXT_INFO_FAIL
static final int STOP_MIGRATE_ACTION
static final int SUCCESS