public class LiveConstant extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LiveConstant.AntiRecordType
防录屏方式
marquee:跑马灯
watermark:水印
|
static class |
LiveConstant.AuthType |
static class |
LiveConstant.AutoPlay
是否自动播放,0/1,默认1
|
static class |
LiveConstant.BannedType
禁言类型
|
static class |
LiveConstant.CardPushDuration
卡片倒计时时长,取值:0,5,10,20,30,0为不显示倒计时时长
|
static class |
LiveConstant.ChannelSwitch
功能开关类型
|
static class |
LiveConstant.ChatStatus
聊天记录状态,默认:pass(已审核),审核状态,pass:已审核,censor:审核中和删除
|
static class |
LiveConstant.ConditionUnit
观看后弹出的观看时长单位
SECONDS:秒
MINUTES:分钟
|
static class |
LiveConstant.Flag
通用条件判断
|
static class |
LiveConstant.GlobalEnabledType
频道通用开关类型
|
static class |
LiveConstant.HeadAdvertType
广告类型,NONE-无广告,IMAGE-图片广告,FLV-视频广告
|
static class |
LiveConstant.ImageType
卡片样式类型
GIFT_BOX:礼物领取样式
RED_PACK:红包样式
|
static class |
LiveConstant.LogoPosition
logo位置,取值为为左上角(tl)、右上角(tr)、左下角(bl)、右下角(br)
|
static class |
LiveConstant.MenuType
页面菜单类型
|
static class |
LiveConstant.ModelType
防录屏类型
fixed:固定值
nickname:登录用户名
diyurl:URL自定义跑马灯
|
static class |
LiveConstant.NewSceneType |
static class |
LiveConstant.OrderBy
排序字段
startTimeDesc:开播时间降序
startTimeAsc:开播时间升序
channelCreatedTimeDesc:频道创建时间降序
|
static class |
LiveConstant.PayWay
页面装修皮肤
CASH:现金支付
POINT:积分支付
|
static class |
LiveConstant.PPTRecordRatio
频道重制课件配置 摄像头画面比例,新版重制有效
0:画面比例16:9
1:画面比例4:3
|
static class |
LiveConstant.PPTRecordType
频道重制课件配置 视频布局方式
0:三分屏
1:纯文档
2:画中画
|
static class |
LiveConstant.PPTStatus |
static class |
LiveConstant.ProductStatus
频道商品库 上下架状态、列表顺序
1:上架,2:下架,10:上移,20:下移
|
static class |
LiveConstant.ProductType
频道商品库 商品类型
normal:普通商品
finance:金融商品
|
static class |
LiveConstant.QuestionType
问卷答题类型
|
static class |
LiveConstant.RobotModel
虚拟人数-人数显示模式
timely:立即生效
fixed_time:分时生效
|
static class |
LiveConstant.Role |
static class |
LiveConstant.RolePurview
角色权限
chatListEnabled:在线列表(仅支持助教)
pageTurnEnabled:翻页(仅支持助教,且仅能设置一个助教有翻页权限)
monitorEnabled:监播(仅支持助教,且仅能设置一个助教有监播权限)
|
static class |
LiveConstant.SceneType |
static class |
LiveConstant.ShowCondition
弹出方式
PUSH:推送后立即弹出
WATCH:观看后弹出
|
static class |
LiveConstant.ShowMode
跑马灯显示方式
roll:滚动
flicker:闪烁
|
static class |
LiveConstant.Skin
页面装修皮肤
black:时尚黑
red:喜庆红
blue:科技蓝
white:经典白
green:薄荷绿
golden:富贵金
|
static class |
LiveConstant.Template
直播模板
PPT:文档+视频(三分屏)
ALONE:纯视频(专业)
TOPCLASS:纯视频(极速)
PORTRAIT_PPT:文档+视频(竖屏)
PORTRAIT_ALONE:纯视频(竖屏)
SEMINAR:研讨会
|
static class |
LiveConstant.TitleType
微信分享标题类型
FOLLOW:直播标题
CUSTOM:自定义
|
static class |
LiveConstant.UserType
用户类型,可以选择多个类型,用英文逗号隔开。
|
static class |
LiveConstant.WatchLayout
三分屏频道的观看布局,不设置会使用账号的通用设置,取值:ppt 文档为主,video 视频为主
|
static class |
LiveConstant.WatchStatus
观看页状态
live:直播中
playback:回放中
end:已结束
waiting:等待中
unStart:未开始
|
static class |
LiveConstant.WatermarkFontSize
防录屏水印字体大小
small:小
middle:中
large:大
|
| 构造器和说明 |
|---|
LiveConstant() |
Copyright © 2025. All rights reserved.