Constructor
new GeneralRecording(data)
Creates a GeneralRecording object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
GeneralRecording | Object |
- Source:
Members
_id :string
Unique ID for the recording
Type:
- string
- Default Value:
- ''
- Source:
filename :string
Filename of the recording (no path, but does include extension)
Type:
- string
- Default Value:
- ''
- Source:
isVideo :boolean
true if it is a video recording; false if it is an audio recording.
Type:
- boolean
- Default Value:
- false
- Source:
markers :Array.<string>
Array of IDs of markers from the recording.
Currently, our mobile code is commented out for full Marker support, but we still create a marker at the
beginning of a GeneralRecording. The functionality is very similar to GeneralQuestions.
Type:
- Array.<string>
- Default Value:
- []
- Source:
photos :Array.<string>
Array of GeneralPhotos IDs from the recording
Type:
- Array.<string>
- Default Value:
- []
- Source:
questions :Array.<string>
Array of GeneralQuestions ids from the recording
Type:
- Array.<string>
- Default Value:
- []
- Source:
Methods
set(data) → {GeneralRecording}
Creates an updated GeneralRecording object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
GeneralRecording | Object |
- Source:
Returns:
- Type
- GeneralRecording