CloudFederationNotification¶
-
class
OC\Federation\
CloudFederationNotification
¶ - Class CloudFederationNotification
Source: lib/private/Federation/CloudFederationNotification.php#35 Implements: OCP\Federation\ICloudFederationNotification
Properties¶
Methods¶
-
public
OC\Federation\CloudFederationNotification::
setMessage
($notificationType, $resourceType, $providerId, $notification)¶ - add a message to the notification
Source: Parameters: - $notificationType (string) (e.g. SHARE_ACCEPTED)
- $resourceType (string) (e.g. file, calendar, contact,...)
- $providerId (string) id of the share
- $notification (array) payload of the notification
Since: 14.0.0
-
public
OC\Federation\CloudFederationNotification::
getMessage
()¶ - get message, ready to send out
Source: lib/private/Federation/CloudFederationNotification.php#64 Returns: array Since: 14.0.0