IExtension.php 815 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCP\Activity;
  8. /**
  9. * Interface IExtension
  10. *
  11. * @since 8.0.0
  12. */
  13. interface IExtension {
  14. /**
  15. * @since 8.0.0
  16. */
  17. public const METHOD_STREAM = 'stream';
  18. /**
  19. * @since 8.0.0
  20. */
  21. public const METHOD_MAIL = 'email';
  22. /**
  23. * @since 20.0.0
  24. */
  25. public const METHOD_NOTIFICATION = 'notification';
  26. /**
  27. * @since 8.0.0
  28. */
  29. public const PRIORITY_VERYLOW = 10;
  30. /**
  31. * @since 8.0.0
  32. */
  33. public const PRIORITY_LOW = 20;
  34. /**
  35. * @since 8.0.0
  36. */
  37. public const PRIORITY_MEDIUM = 30;
  38. /**
  39. * @since 8.0.0
  40. */
  41. public const PRIORITY_HIGH = 40;
  42. /**
  43. * @since 8.0.0
  44. */
  45. public const PRIORITY_VERYHIGH = 50;
  46. }