Interface Info
public interface ExitCallback
退出游戏回调接口。
Qualifier and Type
Method Name and Description
void
onExit(int rtnCode)
退出游戏方法。当智慧屏会员权益校验不通过需要退出游戏时触发该方法。您需要在此方法中实现退出游戏的功能,例如保存玩家进度、调用华为帐号退出接口等。
Method
void onExit(int rtnCode)
Parameters
Name
Description
rtnCode
退出游戏时的返回码。