Hype xAPI Documentation

⌘K
👋 WELCOME to HypeXAPI
Introduction
What is Hype?
What is xAPI?
Why are we doing it?
How are we doing it?
Functions in Hype xAPI
hypeDocument
HypeXAPI
Docs powered by archbee 
1min

HypeXAPI.sendStatement

The sendStatement function sends a statement to the LRS.

To use the function, simply pass in the statement you wish to send, as well as the debug mode you wish to use. The debug mode can be either 'echo' or null.

If you wish to debug your statements, the 'echo' mode will fetch the statement from the LRS after sending it. Fetching your statement directly allows you to evaluate the data entry created by the LRS.

Here is an example of how to use the sendStatement function:

JS
|




Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
HypeXAPI.sendStatementByDataset
Docs powered by archbee