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

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

 __construct ($sDeviceToken=null, $maxPayloadSize=2048)
 
 setAutoAdjustLongPayload ($bAutoAdjust)
 
 getAutoAdjustLongPayload ()
 
 getPayload ()
 
 getBatch ()
 
- Открытые члены унаследованные от 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)
 

Защищенные члены

 getAlertData ()
 
 _getPayload ()
 

Защищенные данные

const DEFAULT_PAYLOAD_MAXIMUM_SIZE = 2048
 
const APPLE_RESERVED_NAMESPACE = 'aps'
 
const JSON_OPTIONS = JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_UNESCAPED_UNICODE
 
 $_bAutoAdjustLongPayload = true
 
 $payloadMaxSize
 
- Защищенные данные унаследованные от BaseMessage
array $deviceTokens = []
 
string $text = null
 
 $category
 
 $badge
 
string $sound = "default"
 
int $expiryValue = 7200
 
 $customIdentifier
 
 $title
 

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

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

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

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

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

◆ __construct()

__construct ( $sDeviceToken = null,
$maxPayloadSize = 2048 )

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

Методы

◆ _getPayload()

_getPayload ( )
protected

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

◆ getAlertData()

getAlertData ( )
protected

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

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

◆ getAutoAdjustLongPayload()

getAutoAdjustLongPayload ( )

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

◆ getBatch()

getBatch ( )

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

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

◆ getPayload()

getPayload ( )

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

◆ setAutoAdjustLongPayload()

setAutoAdjustLongPayload ( $bAutoAdjust)

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

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

◆ $_bAutoAdjustLongPayload

$_bAutoAdjustLongPayload = true
protected

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

◆ $payloadMaxSize

$payloadMaxSize
protected

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

◆ APPLE_RESERVED_NAMESPACE

const APPLE_RESERVED_NAMESPACE = 'aps'
protected

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

◆ DEFAULT_PAYLOAD_MAXIMUM_SIZE

const DEFAULT_PAYLOAD_MAXIMUM_SIZE = 2048
protected

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

◆ JSON_OPTIONS

const JSON_OPTIONS = JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_UNESCAPED_UNICODE
protected

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