interface PushNotificationsBroadcasterInterface in Push Notifications 8
Hierarchy
- interface \Drupal\push_notifications\PushNotificationsBroadcasterInterface
Expanded class hierarchy of PushNotificationsBroadcasterInterface
All classes that implement PushNotificationsBroadcasterInterface
File
- src/
PushNotificationsBroadcasterInterface.php, line 10 - Contains \Drupal\push_notifications\PushNotificationsBroadcasterInterface.
Namespace
Drupal\push_notificationsView source
interface PushNotificationsBroadcasterInterface {
/**
* Set tokens.
*
* @param array $tokens Token list.
*/
function setTokens($tokens);
/**
* Set payload.
*
* @param array $payload Payload.
*/
function setMessage($payload);
/**
* Send the broadcast.
*/
function sendBroadcast();
/**
* Retrieve results after broadcast was sent.
*
* @return array Array of data.
*/
function getResults();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PushNotificationsBroadcasterInterface:: |
function | Retrieve results after broadcast was sent. | 2 | |
PushNotificationsBroadcasterInterface:: |
function | Send the broadcast. | 2 | |
PushNotificationsBroadcasterInterface:: |
function | Set payload. | 2 | |
PushNotificationsBroadcasterInterface:: |
function | Set tokens. | 2 |