目录

Result Code

Result Code

Value

Description

Solution

KitResult.FAILED

-1

Unknown error.

-

KitResult.SUCCES

0

Success.

-

KitResult.ERROR_SERVICE_NOT_CONNECTED

501

The service is not connected.

Initialize Share Engine capabilities again.

KitResult.ERROR_SHARE_ABILITY_NOT_READY

502

Share Engine capabilities are unavailable because Share Engine hasn't been initialized or Wi-Fi/Bluetooth is not enabled.

Wait until the initialization is complete and ensure that Wi-Fi and Bluetooth are enabled.

KitResult.ERROR_REMOTE_EXCEPTION

503

Failed to call the service.

Initialize Share Engine capabilities again.

KitResult.ERROR_BLUETOOTH_Wi-Fi_PERMISSION

504

The app does not have the Bluetooth/Wi-Fi permission.

Obtain the Bluetooth/Wi-Fi permission.

KitResult.ERROR_SERVICE_NOT_READY

505

The service has not been initialized.

Wait until the initialization is complete and try again.