Method | Description | |
---|---|---|
addRecipient ( paragraph1\phpFCM\Recipient\Recipient $recipient ) : |
where should the message go | |
jsonSerialize ( ) | ||
setCollapseKey ( string $collapseKey ) : |
||
setContentAvailable ( ) : |
||
setData ( array $data ) | ||
setDelayWhileIdle ( boolean $delayWhileIdle ) : |
||
setNotification ( |
||
setPriority ( string $priority ) : |
normal or high, use class constants as value | |
setTimeToLive ( integer $ttl ) : |
Method | Description | |
---|---|---|
createTo ( array &$jsonData ) |
public addRecipient ( paragraph1\phpFCM\Recipient\Recipient $recipient ) : |
||
$recipient | paragraph1\phpFCM\Recipient\Recipient | |
return |
public setCollapseKey ( string $collapseKey ) : |
||
$collapseKey | string | |
return |
public setDelayWhileIdle ( boolean $delayWhileIdle ) : |
||
$delayWhileIdle | boolean | |
return |
public setNotification ( |
||
$notification |
public setPriority ( string $priority ) : |
||
$priority | string | use the class constants |
return |
public setTimeToLive ( integer $ttl ) : |
||
$ttl | integer | |
return |