* Moves the executor service to the background (stops foreground notification). * * @returns {Promise } Resolves when the service is moved to background. * * @example * executor.moveToBackground();
()
| 113 | * executor.moveToBackground(); |
| 114 | */ |
| 115 | moveToBackground() { |
| 116 | return new Promise((resolve, reject) => { |
| 117 | exec(resolve, reject, this.ExecutorType, "moveToBackground", []); |
| 118 | }); |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Moves the executor service to the foreground (shows notification). |