当前位置:网站首页>Calling the creation engine interface of Huawei game multimedia service returns error code 1002, error message: the params is error

Calling the creation engine interface of Huawei game multimedia service returns error code 1002, error message: the params is error

2022-07-07 08:35:00 Huawei Developer Forum

Problem description

Refer to Huawei game multimedia service documentation , Realize game voice related functions , Calling

GameMediaEngine.create(CreateEngineParams params, IGameMMEEventHandle eventHandler) 

Interface to create a game engine instance , Game engine instance creation failed , Return error code 1002, error message :the params is error/img/6a/76573d410ca2fc0497a4ef724c8c3a.png

Problem analysis and solution

Analyzing the error message means that the parameter is wrong , Not found in the document 1002 Explanation of this error code . Check the input parameters of the interface , It meets the requirements of interface documents :

I really can't find out which parameter is passed incorrectly , Later, I happened to find that the mobile phone was not connected to the Internet :

After connecting the mobile network , Interface call successful , Problem solving .

Developers, if this error code appears , You can check whether your mobile network is normal . If the operating environment is normal , This error also occurs , Can pass Bill of lading Contact Huawei technical support to help you locate and solve .

原网站

版权声明
本文为[Huawei Developer Forum]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207070537375318.html