Functions in Hype xAPI
...
HypeXAPI
HypeXAPI.setDefault

objects

1min

The HypeXAPI.setDefault() command sets the default values for an xAPI object. The first parameter is the lookup key for the object, and the second parameter is an object containing the default values for the object.

Different object types that can be used in the object branch of an xAPI statement include Agent, Group, Activity, and StatementRef. The most common type used is Activity.

JS




Updated 25 Mar 2024
Doc contributor
Did this page help you?