Constructor
new GeneralQuestion(data)
Creates a GeneralQuestion object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
GeneralQuestion | Object |
- Source:
Members
_id :string
Unique ID for the GeneralQuestion
Type:
- string
- Default Value:
- ''
- Source:
cultureEvent :string
ID of the CultureEvent this question is associated with, for convenience
Type:
- string
- Default Value:
- ''
- Source:
filename :string
On Mobile, user can tap a Question marker when reviewing a CultureEvent to record a question.
filename does not include a path, but does include extension.
Type:
- string
- Default Value:
- ''
- Source:
startTime :number
Time of the question marker, in seconds (with decimals), from the beginning of the GeneralRecording that this question is on (see GeneralRecording.questions)
Type:
- number
- Default Value:
- 0
- Source:
text :string
On Desktop, user can click a Question marker when reviewing a CultureEvent and type their question
Type:
- string
- Default Value:
- ''
- Source:
Methods
set(data) → {GeneralQuestion}
Creates an updated GeneralQuestion object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
GeneralQuestion | Object |
- Source:
Returns:
- Type
- GeneralQuestion