Class: VoiceNote

VoiceNote(data)

Class representing a Quick Voice Note. This audio file is recorded on Mobile using the Quick Voice Note recorder.

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