# ClearAudioFiles Method The ClearAudioFiles method deletes all audio files from the AudioFiles collection. Syntax
    SiteKiosk.CDRecording.ClearAudioFiles()
Return Value None. Remarks If RecordMode is 1, the files of the AudioFiles collection will be recorded. If it is 0, the files of the RootDirectory object will be recorded. Examples The following example deletes all audio files from the AudioFiles collection.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.CDRecording.ClearAudioFiles();
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top