@capgo/capacitor-mute
Version:
Detect if the mute switch is enabled/disabled on a device
25 lines (19 loc) • 540 B
JavaScript
;
var core = require('@capacitor/core');
const Mute = core.registerPlugin('Mute', {
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.MuteWeb()),
});
class MuteWeb extends core.WebPlugin {
async isMuted() {
throw new Error('Method not implemented.');
}
async getPluginVersion() {
return { version: 'web' };
}
}
var web = /*#__PURE__*/Object.freeze({
__proto__: null,
MuteWeb: MuteWeb
});
exports.Mute = Mute;
//# sourceMappingURL=plugin.cjs.js.map