Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс GoogleMessage
+ Граф наследования:GoogleMessage:

Открытые члены

 __construct ($sDeviceToken=null)
 
 getBatch ()
 
 getPayload ()
 
 strippedPayload ($data)
 
- Открытые члены унаследованные от BaseMessage
 addRecipient ($sDeviceToken)
 
 getRecipient ($nRecipient=0)
 
 getRecipients ()
 
 setText ($sText)
 
 getText ()
 
 setTitle (string $sTitle)
 
 getTitle ()
 
 setBadge (int $nBadge)
 
 getBadge ()
 
 setSound ($sSound='default')
 
 getSound ()
 
 setCustomProperty ($sName, $mValue)
 
 getCustomProperty ($sName)
 
 setExpiry (int $nExpiryValue)
 
 getExpiry ()
 
 setCustomIdentifier ($mCustomIdentifier)
 
 getCustomIdentifier ()
 
 getCategory ()
 
 setCategory ($category)
 
 setFromArray (array $messageArray)
 

Открытые атрибуты

const DEFAULT_PAYLOAD_MAXIMUM_SIZE = 4096
 
- Открытые атрибуты унаследованные от BaseMessage
 $customProperties = []
 

Дополнительные унаследованные члены

- Защищенные данные унаследованные от BaseMessage
array $deviceTokens = []
 
string $text = null
 
 $category
 
 $badge
 
string $sound = "default"
 
int $expiryValue = 7200
 
 $customIdentifier
 
 $title
 

Подробное описание

См. определение в файле googlemessage.php строка 5

Конструктор(ы)

◆ __construct()

__construct ( $sDeviceToken = null)

См. определение в файле googlemessage.php строка 8

Методы

◆ getBatch()

getBatch ( )

Returns batch of the message

Возвращает
string

Переопределяет метод предка BaseMessage.

Переопределяется в HuaweiPushKitMessage.

См. определение в файле googlemessage.php строка 20

◆ getPayload()

getPayload ( )

Переопределяется в HuaweiPushKitMessage.

См. определение в файле googlemessage.php строка 31

◆ strippedPayload()

strippedPayload ( $data)

См. определение в файле googlemessage.php строка 50

Данные класса

◆ DEFAULT_PAYLOAD_MAXIMUM_SIZE

const DEFAULT_PAYLOAD_MAXIMUM_SIZE = 4096

См. определение в файле googlemessage.php строка 7