diff options
author | Joas Schilling <coding@schilljs.com> | 2018-07-13 10:11:41 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-07-13 13:27:51 +0200 |
commit | 28d8d15a98df5adeec970b0cfc6fb50937aca8e2 (patch) | |
tree | e8dbcb7627ea092a55302b86a55cb3e5a7edcd9f /lib/public/Notification | |
parent | e3126fa091305a2325711d54d06a127283f27c56 (diff) | |
download | nextcloud-server-28d8d15a98df5adeec970b0cfc6fb50937aca8e2.tar.gz nextcloud-server-28d8d15a98df5adeec970b0cfc6fb50937aca8e2.zip |
Allow notifiers to know whether we are preparing push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Notification')
-rw-r--r-- | lib/public/Notification/IManager.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/Notification/IManager.php b/lib/public/Notification/IManager.php index cbc48142cbb..003e5f1bad1 100644 --- a/lib/public/Notification/IManager.php +++ b/lib/public/Notification/IManager.php @@ -62,4 +62,16 @@ interface IManager extends IApp, INotifier { * @since 9.0.0 */ public function hasNotifiers(); + + /** + * @param bool $preparingPushNotification + * @since 14.0.0 + */ + public function setPreparingPushNotification($preparingPushNotification); + + /** + * @return bool + * @since 14.0.0 + */ + public function isPreparingPushNotification(); } |