- latency
-
Player
-
Page
-
Gadget
-
recordObjective()
- id
- success_status
- completion_status
- description
-
setObjectiveProgress()
- id
- progress
-
setObjectiveScore()
- objectiveID
- min
- max
- raw
- scaled
-
setObjectiveStatus()
- id
- success_status
- completion_status
-
recordInteraction()
- ID
- type
- weighting
- learner_response
- result
- new Date()
- description
- correct_responses[]
-
setScore()
-
min
- real(10,7)
-
max
- real(10,7)
-
scaled
- real(10,7)
-
raw
- real(10,7)
-
setProgress()
-
progress
- real(10,7) 0...1
-
setBookmark()
-
location
- (SPM: 1000)
-
defaults
-
version
- type: string
- default: "1.0"
-
createDate
- type: date_string
- default: "04/07/2011 09:33AM"
-
modifiedDate
- type: date_string
- default: "03/05/2012 10:55AM"
-
prefix
- type: string
- default: "SCOBot"
-
launch_data
- type: json object
- default: {}
-
interaction_mode
- type: string
- values: "state", "journaled"
- default: "state"
-
launch_data_type
- type: string
- values: "querystring", "json"
- default: "querystring"
-
scorm_edition
- type: string
- values: "3rd", "4th"
- default: "3rd"
-
success_status
- type: string
- values: "passed", "failed", "unknown"
- default: "unknown"
-
location
- type: string
- default: ""
-
completion_status
- type: string
- values: "complete", "incomplete", "not attempted", "unknown"
- default: ""
-
suspend_data
- type: json object
- default: {pages:[]}
-
mode
- type: string
- values: "browse", "normal", "review"
- default: ""
-
completion_threshold
- type: number
- values: 0...1
- default: 0
-
scaled_passing_score
- type: number
- values: 0...1
- default: 0.7
-
totalInteractions
- type: non negative integer
- values: 0...∞
- default: 0
-
totalObjectives
- type: non negative integer
- values: 0...∞
- default: 0
-
startTime
- type: non negative integer
- values: 0...∞
- default: 0
-
settings
- description: extends/overwrites the defaults
- default: $.extend(defaults, options)
-
lmsconnected
- type: boolean
- default: false
-
isExit
- type: boolean
- default: false
-
isError
- type: boolean
- default: false
-
isStarted
- type: boolean
- default: false
-
badValues
- type: string
- description: pipe delimited listing of bad values that could be returned by the LMS
- default: "|null|undefined|false|| |'"
-
error
- default: scorm.get('error')
-
self
- default: this
-
initSCO
- type: function
- description: Initializes the SCO and returns LMS connection status
- event: load
- parameters: none
- returns: boolean
-
exitSCO
- type: function
- description: Exits the SCO, terminates LMS connection, and returns exit success
- event: unload
- parameters: none
- returns: boolean
-
triggerWarning
- type: function
- description: Internal utility to send warning message to the console log when an API error occurs
- parameters: n
- returns: true