UNPKG

@capgo/capacitor-mute

Version:

Detect if the mute switch is enabled/disabled on a device

28 lines (21 loc) 660 B
var capacitorMute = (function (exports, core) { 'use strict'; 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; return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map