aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/IAddressBook.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/IAddressBook.php b/lib/public/IAddressBook.php
index b2c9a103c2c..ed66af4aa18 100644
--- a/lib/public/IAddressBook.php
+++ b/lib/public/IAddressBook.php
@@ -107,5 +107,20 @@ namespace OCP {
* @since 5.0.0
*/
public function delete($id);
+
+ /**
+ * Returns true if this address-book is not owned by the current user,
+ * but shared with them.
+ *
+ * @return bool
+ * @since 20.0.0
+ */
+ public function isShared(): bool;
+
+ /**
+ * @return bool
+ * @since 20.0.0
+ */
+ public function isSystemAddressBook(): bool;
}
}