MessageAPI
Constructors
new MessageAPI()
new MessageAPI(
apiInstance
):MessageAPI
Parameters
Parameter | Type |
---|---|
|
Returns
Defined in
Properties
apiInstance
readonly
apiInstance:API
Defined in
messageManager
readonly
messageManager:MessageManager
Defined in
Methods
createMessage()
createMessage(
type
,title
,content
,code
):MessageWrapper
Parameters
Parameter | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
MessageWrapper
Defined in
getMessageById()
getMessageById(
id
):undefined
|MessageWrapper
Parameters
Parameter | Type |
---|---|
|
|
Returns
undefined
| MessageWrapper
Defined in
getMessagesForInstance()
getMessagesForInstance():
MessageWrapper
[]
Returns
MessageWrapper
[]