Microphone: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 5: Line 5:
<translate>Use this plugin to record to an audio clip using a connected microphone.</translate>
<translate>Use this plugin to record to an audio clip using a connected microphone.</translate>
{|-
{|-
| style="width: 50%;"|
| style="width: 50%; vertical-align:top;"|
=== Methods ===
=== Methods ===
[[Microphone.new]] {{<translate>Creates a new Microphone object.</translate>}}<br/>
[[Microphone.new]] ''<translate>Creates a new Microphone object.</translate>''<br/>
[[Microphone:setOutputFile]] {{<translate>Sets the output file</translate>}}<br/>
[[Microphone:setOutputFile]] ''<translate>Sets the output file</translate>''<br/>
[[Microphone:start]] {{<translate>Start recording with device.</translate>}}<br/>
[[Microphone:start]] ''<translate>Start recording with device.</translate>''<br/>
[[Microphone:stop]] {{<translate>Stop recording</translate>}}<br/>
[[Microphone:stop]] ''<translate>Stop recording</translate>''<br/>
| style="width: 50%;"|
| style="width: 50%; vertical-align:top;"|
=== Events ===
=== Events ===
[[Event.DATA_AVAILABLE]]<br/>
[[Event.DATA_AVAILABLE]]<br/>
=== Constants ===
=== Constants ===
|}
|}

Revision as of 13:30, 23 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2013.06

Description

Use this plugin to record to an audio clip using a connected microphone.

Methods

Microphone.new Creates a new Microphone object.
Microphone:setOutputFile Sets the output file
Microphone:start Start recording with device.
Microphone:stop Stop recording

Events

Event.DATA_AVAILABLE

Constants