RoomErrorLevel

  • Web

更新时间不可用

Whiteboard Web SDK 2.16.59 公开 enum。

TypeScript
export declare enum RoomErrorLevel {
    /**
     * 当无权写时执行写操作,则直接抛出错误
     */
    ThrowError = "throwError",
    /**
     * 当无权写时执行写操作,拦截操作,并在控制台打印警告
     */
    Warn = "warn",
    /**
     * 当无权写时执行写操作,拦截操作,什么也不做
     */
    Ignore = "ignore",
}

成员

ThrowError

ThrowError = "throwError";

Text
当无权写时执行写操作,则直接抛出错误

Warn

Warn = "warn";

Text
当无权写时执行写操作,拦截操作,并在控制台打印警告

Ignore

Ignore = "ignore";

Text
当无权写时执行写操作,拦截操作,什么也不做

这个页面有帮助吗?