InvisiblePlugin
- Web
更新时间不可用
Whiteboard Web SDK 2.16.59 公开 class。
export declare abstract class InvisiblePlugin<A extends Object, MA extends Object>成员
- displayer
- callbacks
- attributes
- memberAttributes
- constructor
- onAttributesUpdate
- onDestroy
- getMemberAttributes
- getAttributesValue
- getMemberAttributesValue
- setAttributes
- setMemberAttributes
- updateAttributes
- updateMemberAttributes
- destroy
- _dispose
Properties
displayer
readonly displayer: Displayer;
callbacks
readonly callbacks: Callbacks<InvisibleCallbacks<A, MA>>;
attributes
readonly attributes: A;
memberAttributes
readonly memberAttributes: MA;
Constructors
constructor
constructor(context: InvisiblePluginContext);| 返回类型 | 描述 |
|---|---|
InvisiblePlugin |
Methods
onAttributesUpdate
onAttributesUpdate(attributes: A): void;| 返回类型 | 描述 |
|---|---|
void |
onDestroy
onDestroy(): void;| 返回类型 | 描述 |
|---|---|
void |
getMemberAttributes
getMemberAttributes(memberId?: number): MA | null;| 返回类型 | 描述 |
|---|---|
MA | null |
getAttributesValue
getAttributesValue(key: string[] | string): any;| 返回类型 | 描述 |
|---|---|
any |
getMemberAttributesValue
getMemberAttributesValue(key: string[] | string): any;| 返回类型 | 描述 |
|---|---|
any |
setAttributes
setAttributes(modifyAttributes: Partial<A>): void;| 返回类型 | 描述 |
|---|---|
void |
setMemberAttributes
setMemberAttributes(modifyAttributes: Partial<MA>): void;| 返回类型 | 描述 |
|---|---|
void |
updateAttributes
updateAttributes(keys: string | string[], value: any): void;| 返回类型 | 描述 |
|---|---|
void |
updateMemberAttributes
updateMemberAttributes(keys: string | string[], value: any): void;| 返回类型 | 描述 |
|---|---|
void |
destroy
destroy(): void;| 返回类型 | 描述 |
|---|---|
void |
_dispose
_dispose(shouldCallback: boolean): void;| 返回类型 | 描述 |
|---|---|
void |