USDK国内接入文档


切换账号

<h3>1、切换账号</h3> <p><code>注意:此方法由接入方客户端自行调用</code></p> <h4>1.1、简要描述</h4> <ul> <li> <p>游戏重新回到登录页面</p> <h4>1.2、切换账号通知回调代码描述</h4> <p><code>注意:此方法为代理方法可选实现,用户从个人中心切换了帐号</code> [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(switchAccount:) name:@&quot;NOTISWITCHACCOUT&quot; object:nil];</p> <h4>1.3、切换账号通知回调调代码描述</h4> <p><code>注意:此方法为通知方法可选实现</code> -(void)switchAccount:(NSNotification *)notification{ [[JHAggregationInit sharedJHAggregation]loginOutGame]; }</p> <p><strong>备注</strong> </p> </li> <li>此接口由接入方调用 详细使用方法请参考 demo内使用</li> </ul>

页面列表

ITEM_HTML