272 lines
12 KiB
Plaintext
272 lines
12 KiB
Plaintext
export class EventConstants {
|
|
/*---------------------------------------------APP事件---------------------------------------------*/
|
|
static readonly LoginSuccessEvent = "LoginSuccessEvent"
|
|
static readonly LogoutSuccessEvent = "LogoutSuccessEvent"
|
|
static readonly HomeRefreshEvent = "HomeRefreshEvent"
|
|
static readonly RecordRefreshEvent = "RecordRefreshEvent"
|
|
static readonly MineRefreshEvent = "MineRefreshEvent"
|
|
static readonly MediaActionEvent = "MediaActionEvent"
|
|
static readonly JumpToRecordEvent = "JumpToRecordEvent"
|
|
static readonly DownloadHistoryRefreshEvent = "DownloadHistoryRefreshEvent"
|
|
|
|
|
|
/*-------------------------------------------客户端上报事件-------------------------------------------*/
|
|
static readonly APP_LAUNCH = "client.launch" //app启动
|
|
|
|
static readonly GUIDE_LAUNCH = "client.guide.launch" //引导页启动
|
|
|
|
static readonly GUIDE_OPPORTUNITY_SCROLL = "client.guide.content.scroll" //滑动切换引导页内容
|
|
|
|
static readonly GUIDE_SKIP = "client.guide.pay.skip" //跳过引导页支付
|
|
|
|
static readonly APP_ACTIVE = "client.home.active" //app激活
|
|
|
|
static readonly HOME_BOTTOM_TAB_CHECK = "client.main.bottom.tab.check" //底部tab切换
|
|
|
|
static readonly HOME_NOTICE_CHECK = "client.main.notice.check" //首页通知点击
|
|
|
|
static readonly GOODS_SELECT = "client.goods.select" //点击切换支付的会员类型
|
|
|
|
static readonly PAY_SELECT = "client.pay.select" //点击切换支付类型
|
|
|
|
static readonly PAY_PAY = "client.pay.pay" //支付按钮点击
|
|
|
|
static readonly CHALLENGE_TASK_PAY_PAY = "client.challenge.task.pay.pay" //0元挑战支付按钮点击
|
|
|
|
static readonly PAY_SUCCESS = "client.pay.success" //支付成功
|
|
|
|
static readonly PAY_CANCEL = "client.pay.cancel" //支付取消
|
|
|
|
static readonly ERROR_CLIENT_WXPAY_ERR = "client.wxpay.err" //微信支付失败
|
|
|
|
static readonly ERROR_CLIENT_ALIPAY_ERR = "client.alipay.err" //支付宝支付失败
|
|
|
|
static readonly ERROR_CLIENT_DOWNLOAD_IMG = "client.download.img.err" //图片下载失败
|
|
|
|
static readonly ERROR_CLIENT_DOWNLOAD_VIDEO = "client.download.video.err" //视频下载失败
|
|
|
|
static readonly ERROR_CLIENT_DOWNLOAD_AUDIO = "client.download.audio.err" //音频下载失败
|
|
|
|
static readonly CANCEL_DOWNLOAD_VIDEO = "client.download.video.cancel" //取消视频下载
|
|
|
|
static readonly PAUSE_DOWNLOAD_VIDEO = "client.download.video.pause" //暂停视频下载
|
|
|
|
static readonly CONTINUE_DOWNLOAD_VIDEO = "client.download.video.continue" //继续视频下载
|
|
|
|
static readonly RESTART_DOWNLOAD_VIDEO = "client.download.video.restart" //重新视频下载
|
|
|
|
static readonly SPEED_UP_DOWNLOAD_VIDEO = "client.download.video.speed.up" //加速视频下载
|
|
|
|
static readonly BACKGROUND_CLIENT_DOWNLOAD = "client.download.background" //后台下载
|
|
|
|
static readonly FLOAT_WINDOW_CLICK = "client.float.window.click" //点击悬浮窗
|
|
|
|
static readonly PKG_UPDATE = "client.pkg.update" //升级弹窗点击更新
|
|
|
|
static readonly PKG_CANCEL = "client.pkg.cancel" //升级弹窗点击取消
|
|
|
|
static readonly GET_MATERIAL = "client.get.material" //获取素材
|
|
|
|
static readonly GET_MATERIAL_CANCEL = "client.get.material.cancel" //取消获取素材
|
|
|
|
static readonly DIALOG_CONFIRM_SAVE_FILE = "client.dialog.confirm.save.file" //保存文件地址弹框确认
|
|
|
|
static readonly DIALOG_GO_TO_VIEW = "client.dialog.go.to.view" //前往保存文件的地址查看
|
|
|
|
static readonly JUMP_TO_ABOUT_US = "client.jump.to.about.us" //界面跳转
|
|
|
|
static readonly JUMP_TO_LINK_EXTRACT = "client.jump.to.link.extract" //跳转链接提取
|
|
|
|
static readonly JUMP_TO_WECHAT_VIDEO = "client.jump.to.wechat.video" //跳转视频号
|
|
|
|
static readonly JUMP_TO_WECHAT_PLAYBACK = "client.jump.to.wechat.video.playback" //跳转直播回放
|
|
|
|
static readonly JUMP_TO_COURSE_WX_VIDEO = "client.course.wechat.video" //视频号视频教程
|
|
|
|
static readonly JUMP_TO_COURSE_PLAYBACK = "client.course.playback" //直播回放视频教程
|
|
|
|
static readonly JUMP_TO_HOME_TOOL = "client.jump.to.home.tool" //跳转首页工具
|
|
|
|
static readonly MAIN_CENTER_ENABLE = "client.main.center.enable" //首页跳转个人中心
|
|
|
|
static readonly JUMP_TO_MEMBER_RECHARGE = "client.jump.to.member.recharge" //跳转到充值页
|
|
|
|
static readonly JUMP_TO_LOGIN = "client.jump.to.login" //跳转到登录页
|
|
|
|
static readonly JUMP_TO_SYSTEM_SETTING = "client.jump.to.system.setting" //跳转到系统设置
|
|
|
|
static readonly JUMP_TO_USER_SETTING = "client.jump.to.user.setting" //跳转到用户设置
|
|
|
|
static readonly JUMP_TO_FEEDBACK = "client.jump.to.feedback" //跳转到意见反馈
|
|
|
|
static readonly JUMP_TO_ACCOUNT_BIND = "client.jump.to.account.bind" //跳转到账号绑定
|
|
|
|
static readonly JUMP_TO_ACCOUNT_MANAGE = "client.jump.to.account.manage" //跳转到账号管理
|
|
|
|
static readonly JUMP_TO_DOWNLOAD_HISTORY = "client.jump.to.download.history" //跳转到下载记录
|
|
|
|
static readonly JUMP_TO_DOWNLOAD_TASK_LIST = "client.jump.to.download.task.list" //跳转到下载任务列表
|
|
|
|
static readonly JUMP_TO_RECHARGE_DIAMOND = "client.jump.to.recharge.diamond" //跳转到M币充值
|
|
|
|
static readonly JUMP_TO_COUPON_LIST = "client.jump.to.coupon.list" //跳转优惠券列表
|
|
|
|
static readonly JUMP_TO_CHALLENGE_TASK = "client.jump.to.challenge.task" //跳转到0元挑战
|
|
|
|
static readonly JUMP_TO_SHARE_WX_VIDEO = "client.jump.to.wechat.share.video" //跳转到视频号分享
|
|
|
|
static readonly JUMP_TO_SHARE_WX_PLAYBACK = "client.jump.to.wechat.share.playback" //跳转到直播回放分享
|
|
|
|
static readonly JUMP_TO_COURSE = "client.jump.to.course" //跳转到指导教程
|
|
|
|
static readonly DOWNLOAD_FILE = "client.download.file" //下载文件
|
|
|
|
static readonly TRANSPOND_FILE = "client.transpond.file" //转发文件
|
|
|
|
static readonly MATERIAL_COPY_TEXT = "client.material.copy.text" //复制文字
|
|
|
|
static readonly MATERIAL_TYPE_CHECK = "client.material.type.check" //素材切换
|
|
|
|
static readonly MATERIAL_ALL_SELECT = "client.material.all.select" //全部选中素材
|
|
|
|
static readonly MATERIAL_SELECT = "client.material.select" //选择素材
|
|
|
|
static readonly TOOLS_VIDEO_EXTRACT_AUDIO = "client.tools.video.audio" //提取音频
|
|
|
|
static readonly MATERIAL_PLAY_VIDEO = "client.material.play.video" //播发视频
|
|
|
|
static readonly GET_CODE = "client.get.code" //获取验证码
|
|
|
|
static readonly LOGIN = "client.login" //登录
|
|
|
|
static readonly SWITCH_ACCOUNT = "client.switch.account" //切换账户
|
|
|
|
static readonly ACCOUNT_BIND = "client.account.bind" //绑定账号
|
|
|
|
static readonly ACCOUNT_BIND_CANCEL = "client.account.bind.cancel" //取消绑定账号
|
|
|
|
static readonly CHECK_AGREEMENT = "client.check.agreement" //切换协议状态
|
|
|
|
static readonly VIEW_AGREEMENT = "client.view.agreement" //查看用户协议
|
|
|
|
static readonly PRIVACY_POLICY_CLICK_OK = "client.privacy.policy.click.ok" //同意隐私协议
|
|
|
|
static readonly SHARE_APP = "client.share.app" //分享app
|
|
|
|
static readonly CLEAR_CACHE = "client.clear.cache" //清除缓存
|
|
|
|
static readonly CONTACT_SERVICE = "client.contact.service" //联系客服
|
|
|
|
static readonly EXIT_LOGIN = "client.exit.login" //退出登录
|
|
|
|
static readonly CANCEL_ACCOUNT = "client.cancel.account" //注销账户
|
|
|
|
static readonly MEMBER_FORCE_LOGIN = "client.member.force.login" //会员强制登录
|
|
|
|
static readonly GET_MATERIAL_TIMES_USE_UP = "client.times.use.up.get.material" //获取素材次数已用完
|
|
|
|
static readonly PICTURE_HANDLE_TIMES_USE_UP = "client.times.use.up.picture.handle" //图片处理次数已用完
|
|
|
|
static readonly CHECK_LOGIN_TYPE = "client.check.login.type" //切换登录方式
|
|
|
|
static readonly OPEN_SCREEN_AD_SHOW = "client.ad.open.screen.show" //开屏广告展示
|
|
|
|
static readonly OPEN_SCREEN_AD_SKIP = "client.ad.open.screen.skip" //开屏广告跳过
|
|
|
|
static readonly OPEN_SCREEN_AD_CLICK = "client.ad.open.screen.click" //开屏广告点击
|
|
|
|
static readonly BANNER_AD_SHOW = "client.ad.banner.show" //banner广告展示
|
|
|
|
static readonly BANNER_AD_CLOSE = "client.ad.banner.close" //banner广告关闭
|
|
|
|
static readonly BANNER_AD_CLICK = "client.ad.banner.click" //banner广告点击
|
|
|
|
static readonly INSERT_SCREEN_AD_SHOW = "client.ad.insert.screen.show" //插屏广告展示
|
|
|
|
static readonly INSERT_SCREEN_AD_CLOSE = "client.ad.insert.screen.close" //插屏广告关闭
|
|
|
|
static readonly INSERT_SCREEN_AD_CLICK = "client.ad.insert.screen.click" //插屏广告点击
|
|
|
|
static readonly INSERT_SCREEN_AD_SKIP_VIDEO = "client.ad.insert.screen.skip.video" //跳过插屏广告
|
|
|
|
static readonly INCENTIVE_AD_SHOW = "client.ad.incentive.show" //激励广告展示
|
|
|
|
static readonly INCENTIVE_AD_CLOSE = "client.ad.incentive.close" //激励广告关闭
|
|
|
|
static readonly INCENTIVE_AD_REWARD = "client.ad.incentive.reward" //激励广告已获取到奖励
|
|
|
|
static readonly INCENTIVE_AD_SKIP_VIDEO = "client.ad.incentive.skip.video" //跳过激励广告
|
|
|
|
static readonly ACCOUNT_UNBIND = "client.account.unbind" //解除绑定账号
|
|
|
|
static readonly HISTORY_RECORD_TYPE_CHECK = "client.history.record.type.check" //历史记录切换
|
|
|
|
static readonly CLOSE_FREE_TIME_USES_UP_DIALOG =
|
|
"client.free.time.uses.up.dialog.close" //关闭免费次数用完的提示框
|
|
|
|
static readonly CHECK_FREE_TIME_USES_UP_DIALOG =
|
|
"client.free.time.uses.up.dialog.check" //免费次数用完的提示框切换充值类型
|
|
|
|
static readonly CONFIRM_FREE_TIME_USES_UP_DIALOG =
|
|
"client.free.time.uses.up.dialog.confirm" //确认免费次数用完的提示框
|
|
|
|
static readonly MULTI_DELETE_FILE = "client.multi.delete.file" //批量删除文件
|
|
|
|
static readonly MULTI_TRANSMIT_FILE = "client.multi.transmit.file" //批量转发文件
|
|
|
|
static readonly PREVIEW_DELETE_FILE = "client.preview.delete.file" //预览时删除文件
|
|
|
|
static readonly PREVIEW_TRANSMIT_FILE = "client.preview.transmit.file" //预览时删除文件
|
|
|
|
static readonly PREVIEW_HANDLE_IMAGE = "client.preview.handle.image" //预览时进行图片处理
|
|
|
|
static readonly TOOLS_HANDLE_IMAGE_START = "client.tools.handle.image.start" //图片处理开始
|
|
|
|
static readonly TOOLS_HANDLE_SAVE_IMAGE = "client.tools.handle.save.image" //保存已处理过的图片至相册
|
|
|
|
static readonly AUTO_SWITCH_DOWNLOAD_URL = "client.auto.switch.download.url" //自动切换下载链接
|
|
|
|
static readonly HAND_SWITCH_DOWNLOAD_URL = "client.hand.switch.download.url" //手动切换下载链接立即加速
|
|
|
|
static readonly HOME_BANNER_CLICK = "client.home.banner.click"
|
|
|
|
static readonly COUPON_ANIMATION_PLAY = "client.coupon.animation.play" //播放优惠券动画
|
|
|
|
static readonly COUPON_ANIMATION_CLOSE = "client.coupon.animation.close" //关闭优惠券动画
|
|
|
|
static readonly COUPON_RECEIVE = "client.coupon.receive" //领取优惠券
|
|
|
|
static readonly COUPON_REDEEM_ENABLE = "client.coupon.redeem.enable" //优惠券兑换按钮点击
|
|
|
|
static readonly COUPON_REDEEM_INFO = "client.coupon.redeem.info" //优惠券兑换详情
|
|
|
|
static readonly COUPON_REDEEM = "client.coupon.redeem" //优惠券兑换
|
|
|
|
static readonly COUPON_REDEEM_SUCCESS = "client.coupon.redeem.success" //优惠券兑换成功
|
|
|
|
static readonly COUPON_REDEEM_SUCCESS_CONFIRM = "client.coupon.redeem.success.confirm" //优惠券兑换成功
|
|
|
|
static readonly COUPON_VIEW = "client.coupon.view" //查看优惠券
|
|
|
|
static readonly COUPON_DIALOG_CHECK = "client.coupon.dialog.check" //切换优惠券
|
|
|
|
static readonly COUPON_DIALOG_CLOSE = "client.coupon.dialog.close" //关闭优惠券
|
|
|
|
static readonly COUPON_DIALOG_CONFIRM = "client.coupon.dialog.confirm" //确认优惠券
|
|
|
|
static readonly COPY_USER_ID = "client.copy_user_id" //复制用户id
|
|
|
|
static readonly SHOW_PALYBACK_HINT_DIALOG = "client.show.playback.hint.dialog"
|
|
|
|
static readonly EXIT_APP = "client.exit.app" //退出APP
|
|
|
|
static readonly SHOW_DIALOG = "client.show.dialog" //弹出退出app的弹框
|
|
|
|
static readonly START_COUPON_ANIMATION = "client.start.coupon.animation"
|
|
|
|
static readonly CHALLENGE_TASK_SIGN_IN = "client.challenge.tasK.sign.in" //签到
|
|
|
|
static readonly CHALLENGE_TASK_SIGN_IN_SUCCESS = "client.challenge.tasK.sign.in.success" //签到成功
|
|
|
|
static readonly CHALLENGE_TASK_SIGN_IN_FAIL = "client.challenge.tasK.sign.in.fail" //签到失败
|
|
} |