UNPKG

@capgo/capacitor-mute

Version:

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

25 lines (18 loc) 576 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."); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, MuteWeb: MuteWeb }); exports.Mute = Mute; return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map