new ActivityResponseMessage()
Extends
Methods
(static) ActivityResponseMessage#getAction() → {String}
Get the field value
The name of the action for this activity
Returns:
- Type
- String
(static) ActivityResponseMessage#getFailReason() → {String}
Get the field value
If this activity failed, the reason for the failure
Returns:
- Type
- String
(static) ActivityResponseMessage#getPayload() → {String}
Get the field value
Response data for this activity
Returns:
- Type
- String
(static) ActivityResponseMessage#getResultCode() → {Number}
Get the field value
The result code after running this activity
Returns:
must be a long integer
- Type
- Number
(static) ActivityResponseMessage#setAction(action)
Set the field value
The name of the action for this activity
Parameters:
Name | Type | Description |
---|---|---|
action |
String |
(static) ActivityResponseMessage#setFailReason(failReason)
Set the field value
If this activity failed, the reason for the failure
Parameters:
Name | Type | Description |
---|---|---|
failReason |
String |
(static) ActivityResponseMessage#setPayload(payload)
Set the field value
Response data for this activity
Parameters:
Name | Type | Description |
---|---|---|
payload |
String |
(static) ActivityResponseMessage#setResultCode(resultCode)
Set the field value
The result code after running this activity
Parameters:
Name | Type | Description |
---|---|---|
resultCode |
Number | must be a long integer |