params
|
any...
|
No
|
Indicates an array of parameters of the app event. Enter the name and value of each parameter in sequence. A parameter name must be a string, and a parameter value must be a string, number, boolean, or Array (which can only be a string, number, or boolean).
|
callback
|
AsyncCallback<number>
|
No
|
Indicates the callback function, which can be used to process the received return value.
- Value 0 indicates that the event parameter verification is successful, and the event will be written to the event file asynchronously.
- A value greater than 0 indicates that invalid parameters are present in the event, and the event will be written to the event file asynchronously after the invalid parameters are ignored.
- A value less than 0 indicates that the event parameter verification fails, and the event will not be written to the event file asynchronously.
|