INotifier

interface OCP\Notification\INotifier
Interface INotifier
Implemented by:OC\Authentication\Notifications\Notifier
Source:lib/public/Notification/INotifier.php#33

Methods

public OCP\Notification\INotifier::getID()
Identifier of the notifier, only use [a-z0-9_]
Source:lib/public/Notification/INotifier.php#41
Returns:string
Since:17.0.0
public OCP\Notification\INotifier::getName()
Human readable name describing the notifier
Source:lib/public/Notification/INotifier.php#49
Returns:string
Since:17.0.0
public OCP\Notification\INotifier::prepare($notification, $languageCode)
Source:

lib/public/Notification/INotifier.php#59

Parameters:
Returns:

\OCP\Notification\INotification

Throws:

\InvalidArgumentException When the notification was not prepared by a notifier

Throws:

\OCP\Notification\AlreadyProcessedException When the notification is not needed anymore and should be deleted

Throws:

\InvalidArgumentException When the notification was not prepared by a notifier

Throws:

\OCP\Notification\AlreadyProcessedException When the notification is not needed anymore and should be deleted

Since:

9.0.0