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
Functions in Hype xAPI
HypeXAPI

HypeXAPI.getDefault

2min

The getDefault() function returns the value of a specified default key. If no key is specified, all defaults are returned. To use the getDefault() function, simply specify the key of the default you wish to retrieve. For example, to retrieve the default value for key "foo", you would use the following code:

JS
|
HypeXAPI.getDefault("foo");


If no key is specified, all defaults are returned. For example, to retrieve all defaults, you would use the following code:

JS
|
HypeXAPI.getDefault();




Updated 03 Mar 2023
Did this page help you?
PREVIOUS
xhrRequestOnError
Docs powered by
Archbee
Docs powered by
Archbee