M3D / M3D / Utility / VisiableMessage
Class: VisiableMessage
Memberof
M3D.Utility
Description
显隐消息
Hierarchy
-
↳
VisiableMessage
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new VisiableMessage(state, shape?, para?): VisiableMessage
Parameters
| Name | Type |
|---|---|
state | string |
shape? | Shape | Shape[] |
para? | Map<string, any> |
Returns
Description
构造函数
Overrides
Properties
exception
• exception: any
Inherited from
expired
• expired: boolean
Inherited from
handler
• handler: any
Inherited from
info
• info: string
Inherited from
level
• level: number
Inherited from
shapes
• shapes: Map<ShapeType, Shape[]>
state
• state: string
Inherited from
type
• type: string
Inherited from
Methods
setExpired
▸ setExpired(isExpired): void
Parameters
| Name | Type | Description |
|---|---|---|
isExpired | boolean | 是否消息过期 |
Returns
void
Description
设置消息过期