There was an error while loading. Please reload this page.
Asks the user to record an audio note and calls the async callback with file info.
This example demonstrates how to record an audio file (if platform supports this action).
var service = new MobileCRM.Services.DocumentService(); service.recordAudio(function (fileInfo) { /// <param name='fileInfo' type='MobileCRM.Services.FileInfo '/> MobileCRM.bridge.alert("Audio file recorded: " + fileInfo.filePath + "\n" + fileInfo.url); }, MobileCRM.bridge.alert);
Links: