目录

ResultCode

Type

ResultCode

Value

Description

int

SUCCESS

0

success.

int

ERROR_PARAMS

230001

Incorrect parameter.

int

ERROR_STATUS

230002

A state error occurs.

int

ERROR_IMAGE

230003

Failed to parse the panorama.

int

ERROR_IO

230004

Failed to read the panorama.

int

ERROR_UNINIT

230005

Uninitialized.

int

ERROR_REMOTE

230006

Remote call error.

int

ERROR_TIMEOUT

230007

Call timeout.

int

ERROR_HMS_NOT_AVAILABLE

230008

HMS Core unavailable.

ImageType

TypeImageTypeValueDescription
intIMAGE_TYPE_UNKNOWN-1unknown type.
intIMAGE_TYPE_SPHERICAL101Spherical panorama.
intIMAGE_TYPE_RING102Cylindrical panorama.

ControlType

TypeControlTypeValueDescription
intCONTROL_TYPE_TOUCH201Touch control.
intCONTROL_TYPE_POSE202Motion tracking control.
intCONTROL_TYPE_MIX203Allows for touch control and motion control simultaneously.

HMS Error Code

Type

Value

Description

int

1200

HMS Core is being upgraded.

int

1201

HMS Core is not ready.

int

1212

HUAWEI Panorama Kit needs to be upgraded.