Flipabit
  • Flipabit
  • Getting started
    • Flipabit overview
    • Create project
    • Run on device
    • Build
      • Build for iOS
      • Build for Android
      • Build for Desktop
    • Publish to App Stores
      • Submit to App Store
      • Submit to Google Play
  • Layers
    • Select layer
    • Change order, visibility and name
    • Copy and paste
    • Move layer
    • Resize layer
    • Rotate layer
    • Align layers
    • Arrange layers
    • Navigation layer
      • Display page title
      • Display Tab bar
      • Display Table of contents
      • Display Back button
      • Next/Prev buttons
      • Navigation actions
  • Pages
    • Add or delete page
    • Open page
    • Page background and overlay
  • Widgets
    • Image
    • Video
    • Text
    • PDF
    • Web
    • Diorama
    • Audio
    • Animation
    • Camera
    • YouTube
    • Map
    • Chart
    • Calendar
    • Table
    • Form
    • 3D Model
  • Groups
    • Add group
    • Move and resize group
  • Style
    • Opacity
    • Borders
    • Background
    • Opacity mask
    • Overlay
    • Margins
    • Blur
    • Copy and paste style
  • Interactivity
    • Navigate between pages
    • Maximize widget
    • Drag widget
    • Disable widget
  • Project
    • Resolution
    • Orientation
    • Status Bar
    • Settings
    • Publish settings
  • Animation
    • Page animation
    • Maximize animation
    • Position animation
    • Size animation
    • Size and position animation
    • Rotation animation
    • Opacity animation
    • Color animation
    • Blur animation
  • Actions
    • Actions Editor Overview
    • Add action
    • Suspend actions
    • Arguments
    • Delay action
    • Animation settings
    • Repeat action
  • Data & backend
    • Airtable
    • Google Sheets
  • Networking
  • Tutorials
  • API
    • Project
    • Page
    • Group
    • Widget
      • Image
      • Text
      • Video
      • Diorama
      • Audio
      • Web
      • Animation
      • Camera
      • YouTube
      • Map
      • Chart
      • Calendar
      • Table
      • Form
      • Record
      • 3d model
  • ⭐Updates
  • 🎁Get Flipabit
Powered by GitBook
On this page
  • Actions
  • Events

Was this helpful?

  1. API
  2. Widget

Record

PreviousFormNext3d model

Last updated 4 years ago

Was this helpful?

Property

Function

Type

Record url

Gets saved file name with path and prefix, e.g. file:///C:/Users/work/Music/29.03.2019-13.20.17.wav Actions editor: Property > Record > Record url Code: widget.content.recordUrl

string

Audio format

Holds the audio codec Actions editor: Property > Record > Audio format Code: widget.content.audioFormat

enum

File container

Holds media container format Actions editor: Property > Record > File container Code: widget.content.fileContainer

string

Sample rate

Holds audio sample rate in Hz Actions editor: Property > Record > Sample rate Code: widget.content.sampleRate

int

Channels

Holds number of audio channels Actions editor: Property > Record > Channels Code: widget.content.channels

int

Record state

Gets current record state Actions editor: Property > Record > Record state Code: widget.content.recordState

enum Values: 0 - Recording 1 - Paused 2 - Stopped

Elapsed time

Gets elapsed time in format MM:SS, e.g. 0:17 Actions editor: Property > Record > Elapsed time Code: widget.content.elapsedTime

string

Record error

Gets string describing the current error state Actions editor: Property > Record > Record error Code: widget.content.recordError

string

Actions

Property

Function

Start record

Actions editor: Actions > Common > Start record Code: widget.content.script.actionRecordStart()

Stop record

Actions editor: Actions > Common > Stop record Code: widget.content.script.actionRecordStop()

Pause record

Actions editor: Actions > Common > Pause record Code: widget.content.script.actionRecordPause()

Events

Property

Function

Record started

Event when record started Actions editor: Event > Record started Code: widget.content.script.eventRecordStarted()

Record paused

Event when record paused Actions editor: Event > Record paused Code: widget.content.script.eventRecordPaused()

Record stopped

Event when record stopped Actions editor: Event > Record stopped Code: widget.content.script.eventRecordStopped()

Record error

Event when record error Actions editor: Event > Record error Code: widget.content.script.eventRecordError()