Constructor
new VoiceNote(data)
Constructs an VoiceNote object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
VoiceNote | Object |
- Source:
Members
_id :string
Unique ID for the VoiceNote.
Type:
- string
- Default Value:
- ''
- Source:
filename :string
Filename of this Voice Note (no path, but does include extension).
Type:
- string
- Default Value:
- ''
- Source:
isArchived :boolean
True if the user has archived this Voice Note.
Type:
- boolean
- Source:
title :string
Title of the VoiceNote file.
Type:
- string
- Default Value:
- ''
- Source:
Methods
set(data) → {VoiceNote}
Creates an updated VoiceNote object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
VoiceNote | Object |
- Source:
Returns:
- Type
- VoiceNote