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.
Updated 03 Mar 2023
Did this page help you?