# 用户启动游戏场景

调用此方法可以获得用户启动场景来源,目前通过桌面快捷方式以及游戏中心页面启动游戏才会返回,其余场景返回others。

本方法需在高版本App上运行,使用前请做兼容检查,如果返回结果不可用,需要对该用户需要屏蔽该入口。

# 接口说明

# 语法

ks.getLaunchScene();

# 返回值说明

返回值 类型 说明
others string 默认返回值
home_game_center string 游戏中心页面
shortcut string 桌面快捷方式
ug_task string 激励
push string 端外push
plc string 端内plc
h5_share string 端外分享
ug_popup string 激励弹窗
notification string 站内官方私信
activity string 活动