Свойство | Type | Description | |
---|---|---|---|
$badge | null | String | ||
$body | null | String | ||
$bodyLocationArgs | null | String | ||
$bodyLocationKey | null | String | ||
$clickAction | null | String | ||
$color | null | String | ||
$icon | null | String | ||
$sound | null | String | ||
$tag | null | String | ||
$title | null | String | ||
$titleLocationArgs | null | String | ||
$titleLocationKey | null | String |
Méthode | Description | |
---|---|---|
__construct ( String $title = null ) | Title must be present on android notification and ios (watch) notification | |
build ( ) : |
Build an PayloadNotification | |
getBadge ( ) : null | String | Get Badge | |
getBody ( ) : null | String | Get body | |
getBodyLocationArgs ( ) : null | String | array | Get BodyLocationArgs | |
getBodyLocationKey ( ) : null | String | Get BodyLocationKey | |
getClickAction ( ) : null | String | Get ClickAction | |
getColor ( ) : null | String | Get Color | |
getIcon ( ) : null | String | Get Icon | |
getSound ( ) : null | String | Get Sound | |
getTag ( ) : null | String | Get Tag | |
getTitle ( ) : null | String | Get title | |
getTitleLocationArgs ( ) : null | String | array | GetTitleLocationArgs | |
getTitleLocationKey ( ) : string | Get TitleLocationKey | |
setBadge ( String $badge ) : |
Supported Ios | |
setBody ( String $body ) : |
Indicates notification body text. | |
setBodyLocationArgs ( mixed $bodyArgs ) : |
Indicates the string value to replace format specifiers in the body string for localization. | |
setBodyLocationKey ( String $bodyKey ) : |
Indicates the key to the body string for localization. | |
setClickAction ( String $action ) : |
Indicates the action associated with a user click on the notification | |
setColor ( String $color ) : |
Supported Android | |
setIcon ( String $icon ) : |
Supported Android Indicates notification icon. example : Sets value to myicon for drawable resource myicon. | |
setSound ( String $sound ) : |
Indicates a sound to play when the device receives a notification. | |
setTag ( String $tag ) : |
Supported Android | |
setTitle ( String $title ) : |
Indicates notification title. This field is not visible on iOS phones and tablets. | |
setTitleLocationArgs ( mixed $titleArgs ) : |
Indicates the string value to replace format specifiers in the title string for localization. | |
setTitleLocationKey ( String $titleKey ) : |
Indicates the key to the title string for localization. |
public __construct ( String $title = null ) | ||
$title | String |
public build ( ) : |
||
Résultat |
public getBodyLocationArgs ( ) : null | String | array | ||
Résultat | null | String | array |
public getBodyLocationKey ( ) : null | String | ||
Résultat | null | String |
public getClickAction ( ) : null | String | ||
Résultat | null | String |
public getTitleLocationArgs ( ) : null | String | array | ||
Résultat | null | String | array |
public getTitleLocationKey ( ) : string | ||
Résultat | string |
public setBadge ( String $badge ) : |
||
$badge | String | |
Résultat | current instance of the builder |
public setBody ( String $body ) : |
||
$body | String | |
Résultat | current instance of the builder |
public setBodyLocationArgs ( mixed $bodyArgs ) : |
||
$bodyArgs | mixed | |
Résultat | current instance of the builder |
public setBodyLocationKey ( String $bodyKey ) : |
||
$bodyKey | String | |
Résultat | current instance of the builder |
public setClickAction ( String $action ) : |
||
$action | String | |
Résultat | current instance of the builder |
public setColor ( String $color ) : |
||
$color | String | |
Résultat | current instance of the builder |
public setIcon ( String $icon ) : |
||
$icon | String | |
Résultat | current instance of the builder |
public setSound ( String $sound ) : |
||
$sound | String | |
Résultat | current instance of the builder |
public setTag ( String $tag ) : |
||
$tag | String | |
Résultat | current instance of the builder |
public setTitle ( String $title ) : |
||
$title | String | |
Résultat | current instance of the builder |
public setTitleLocationArgs ( mixed $titleArgs ) : |
||
$titleArgs | mixed | |
Résultat | current instance of the builder |
public setTitleLocationKey ( String $titleKey ) : |
||
$titleKey | String | |
Résultat | current instance of the builder |
protected null|String $bodyLocationArgs | ||
Résultat | null | String |
protected null|String $bodyLocationKey | ||
Résultat | null | String |
protected null|String $titleLocationArgs | ||
Résultat | null | String |
protected null|String $titleLocationKey | ||
Résultat | null | String |