UNPKG

@nodert-win11/windows.applicationmodel.lockscreen

Version:

Use the Windows.ApplicationModel.LockScreen UWP API directly from Node.js

102 lines (76 loc) 2.73 kB
LockApplicationHost = (function () { var cls = function LockApplicationHost() { }; cls.prototype.requestUnlock = function requestUnlock() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.getForCurrentView = function getForCurrentView() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="LockApplicationHost" /> /// </signature> return new LockApplicationHost(); } cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.LockApplicationHost = LockApplicationHost; LockScreenBadge = (function () { var cls = function LockScreenBadge() { this.automationName = new String(); this.glyph = new Object(); this.logo = new Object(); this.number = new Number(); }; cls.prototype.launchApp = function launchApp() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } return cls; }) (); exports.LockScreenBadge = LockScreenBadge; LockScreenInfo = (function () { var cls = function LockScreenInfo() { this.alarmIcon = new Object(); this.badges = new Object(); this.detailText = new Object(); this.lockScreenImage = new Object(); }; cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.LockScreenInfo = LockScreenInfo; LockScreenUnlockingDeferral = (function () { var cls = function LockScreenUnlockingDeferral() { }; cls.prototype.complete = function complete() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } return cls; }) (); exports.LockScreenUnlockingDeferral = LockScreenUnlockingDeferral; LockScreenUnlockingEventArgs = (function () { var cls = function LockScreenUnlockingEventArgs() { this.deadline = new Date(); }; cls.prototype.getDeferral = function getDeferral() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="LockScreenUnlockingDeferral" /> /// </signature> return new LockScreenUnlockingDeferral(); } return cls; }) (); exports.LockScreenUnlockingEventArgs = LockScreenUnlockingEventArgs;