Difference between revisions of "Microphone"

From GiderosMobile
Line 7: Line 7:
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
[[Microphone.new]] - Creates a new Microphone object.<br/>
+
[[Microphone.new]] {{<translate>Creates a new Microphone object.</translate>}}<br/>
[[Microphone:setOutputFile]] - Sets the output file<br/>
+
[[Microphone:setOutputFile]] {{<translate>Sets the output file</translate>}}<br/>
[[Microphone:start]] - Start recording with device.<br/>
+
[[Microphone:start]] {{<translate>Start recording with device.</translate>}}<br/>
[[Microphone:stop]] - Stop recording<br/>
+
[[Microphone:stop]] {{<translate>Stop recording</translate>}}<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===

Revision as of 14:20, 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 Template:Creates a new Microphone object.
Microphone:setOutputFile Template:Sets the output file
Microphone:start Template:Start recording with device.
Microphone:stop Template:Stop recording

Events

Event.DATA_AVAILABLE

Constants