UNPKG

@capgo/capacitor-mute

Version:

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

22 lines (16 loc) 468 B
'use strict'; 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."); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, MuteWeb: MuteWeb }); exports.Mute = Mute; //# sourceMappingURL=plugin.cjs.js.map