mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
26 lines
597 B
JavaScript
26 lines
597 B
JavaScript
function main(args) {
|
|
console.log("WelsonJS.Service required.");
|
|
}
|
|
|
|
function onServiceStart() {
|
|
return "onServiceStart recevied";
|
|
}
|
|
|
|
function onServiceStop() {
|
|
return "onServiceStop recevied";
|
|
}
|
|
|
|
function onServiceElapsedTime() {
|
|
return "onServiceElapsedTime recevied";
|
|
}
|
|
|
|
function onServiceScreenTime(args) {
|
|
return "onServiceScreenTime recevied. " + args.join(', ');
|
|
}
|
|
|
|
exports.main = main;
|
|
exports.onServiceStart = onServiceStart;
|
|
exports.onServiceStop = onServiceStop;
|
|
exports.onServiceElapsedTime = onServiceElapsedTime;
|
|
exports.onServiceScreenTime = onServiceScreenTime;
|