Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IG2WhiteBoardOption

Hierarchy

  • IG2WhiteBoardOption

Index

Properties

appKey

appKey: string

云信appkey

container

container: HTMLDivElement

白板容器

debug

debug: boolean

默认为true。开启后会保存更多的日志

Optional drawPluginParams

drawPluginParams: IDrawPluginInitOption

drawPlugin初始化参数

Optional nickname

nickname: string

昵称

platform

platform: IPlatform

客户端类型。会影响一些触屏相关的行为

record

record: boolean

是否记录该用户的日志文件。在互动白板场景中,如果需要记录日志,请为房间内所有用户的record都设置为true

uid

uid: number

与用户的账号体系对应的用户标志id。 同一个uid不允许多处同时登陆白板

Methods

getAuthInfo

  • 文档,图片,音视频上传时,均需要调用云信的服务。调用时需要下面的auth信息 开发者应该通过https请求,从开发者的应用服务器中返回auth信息。

    Returns Promise<IAuthInfo>