PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
RecorderAction (Function)
In french: MagnetoAction
Runs an action on the recorder or dictaphone found on the current device.
Remark: This function is only available if the current device has a tape recorder function.
Versions 17 and later
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android widget mode.
New in version 18
Android Widget This function is now available in Android widget mode.
Android Widget This function is now available in Android widget mode.
Example
AndroidAndroid Widget
// Lecture du fichier son "Music.3gpp"
RecorderAction(recorderPlay, "Music.3gpp")
Syntax
<Result> = RecorderAction(<Action> [, <File name>])
<Result>: Boolean
  • True if the specified action was started,
  • False otherwise.
The ErrorOccurred variable is set to True if an error occurs. To get the details of the error, use ErrorInfo.
<Action>: Integer constant
Type of action to perform:
recorderRecordOpens the recorder and starts recording.
The recording starts as soon as the user presses the button that calls RecorderAction.
recorderCloseCloses the recorder.
recorderPlayOpens the recorder and plays the specified sound file.
recorderStopStops the current recording.
The recording stops as soon as the user releases the button that calls RecorderAction.
<File name>: Optional character string
Name and full path of the sound file:
  • to record (recorderRecord constant).
  • to play (recorderPlay constant).
This file has the following format:
  • Versions 17 and later
    AndroidAndroid Widget ".3gpp" in Android.
    New in version 17
    AndroidAndroid Widget ".3gpp" in Android.
    AndroidAndroid Widget ".3gpp" in Android.
  • Versions 17 and later
    iPhone/iPadMac Catalyst ".WAV" in iPhone/iPad.
    New in version 17
    iPhone/iPadMac Catalyst ".WAV" in iPhone/iPad.
    iPhone/iPadMac Catalyst ".WAV" in iPhone/iPad.
Remarks
Versions 17 and later
AndroidAndroid Widget Required permissions
The call to this function modifies the permissions required by the application.
Required permission: RECORD_AUDIO
This permission is used to record the sounds.
New in version 17
AndroidAndroid Widget Required permissions
The call to this function modifies the permissions required by the application.
Required permission: RECORD_AUDIO
This permission is used to record the sounds.
AndroidAndroid Widget Required permissions
The call to this function modifies the permissions required by the application.
Required permission: RECORD_AUDIO
This permission is used to record the sounds.
Component: wd270android.aar
Minimum version required
  • Version 11
Comments
Click [Add] to post a comment