ICloudFederationNotification

interface OCP\Federation\ICloudFederationNotification
Interface ICloudFederationNotification
Implemented by:OC\Federation\CloudFederationNotification
Source:lib/public/Federation/ICloudFederationNotification.php#32

Methods

public OCP\Federation\ICloudFederationNotification::setMessage($notificationType, $resourceType, $providerId, $notification)
add a message to the notification
Source:

lib/public/Federation/ICloudFederationNotification.php#44

Parameters:
  • $notificationType (string) (e.g. SHARE_ACCEPTED)
  • $resourceType (string) (e.g. file, calendar, contact,...)
  • $providerId id of the share
  • $notification (array) , payload of the notification
Since:

14.0.0

public OCP\Federation\ICloudFederationNotification::getMessage()
get message, ready to send out
Source:lib/public/Federation/ICloudFederationNotification.php#53
Returns:array
Since:14.0.0