Difference between revisions of "Microphone:setOutputFile"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2013.06<br/> | + | '''<translate>Available since</translate>:''' Gideros 2013.06<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording.</translate> | <translate>Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording.</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Microphone:setOutputFile(fileName) | Microphone:setOutputFile(fileName) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''fileName''': (string) <translate>The filename. It should be on documents or temporary directory.</translate> <br/> | '''fileName''': (string) <translate>The filename. It should be on documents or temporary directory.</translate> <br/> |
Revision as of 07:27, 24 August 2018
Available since: Gideros 2013.06
Description
Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording.
Microphone:setOutputFile(fileName)
Parameters
fileName: (string) The filename. It should be on documents or temporary directory.