MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / onError

Function onError

Ports/JavaScriptPort/src/main/webapp/js/fontmetrics.js:2378–2381  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

2376 var onComplete = config.onComplete || function(str){};
2377 var _onError = config.onError || function(e){console.log(e);};
2378 var onError = function(e){
2379 console.log("Firing onError callback ", e);
2380 _onError(e);
2381 }
2382 var onAudioProcess = config.onAudioProcess || function(sampleRate, numChannels, floatSamples){};
2383 var _onRecord = config.onRecord || function(numChannels, sampleRate){};
2384 var onRecord = function(numChannels, sampleRate) {

Callers 5

resumeFunction · 0.85
registerAudioProcessingFunction · 0.85
onStreamFunction · 0.85
recordFunction · 0.85
getUserMedia_Function · 0.85

Calls 1

logMethod · 0.65

Tested by

no test coverage detected