Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
paragraph1
phpFCM
Notification
setSound
paragraph1\phpFCM\Notification::setSound PHP Method
Notification Class Documentation
Datei anzeigen
Open project: paragraph1/php-fcm
setSound()
public
method
android/ios: can be default or a filename of a sound resource bundled in the app.
See also:
https://firebase.google.com/docs/cloud-messaging/http-server-ref#notification-payload-support
public
setSound
(
string
$sound
) :
Notification
$sound
string
a sounds filename
return
Notification
public function setSound($sound) { $this->sound = $sound; return $this; }
Notification
__construct
jsonSerialize
setBadge
setBody
setClickAction
setColor
setIcon
setSound
setTag
setTitle