Bitrix API

Apple extends BaseService

Table of Contents

Constants

DEFAULT_EXPIRY  = 14400

Methods

getBatch()  : string
Gets the batch for Apple push notification service
getMessageInstance()  : AppleMessage
Returns message instance
getProductionBatch()  : string
Gets batch with ;2; modifier only for production server
getSandboxBatch()  : string
Gets batch with ;1; modifier only for sandbox server
shouldBeSent()  : bool

Constants

Methods

getBatch()

Gets the batch for Apple push notification service

public getBatch([array<string|int, mixed> $messages = [] ]) : string
Parameters
$messages : array<string|int, mixed> = []
Return values
string

getMessageInstance()

Returns message instance

public getMessageInstance(string $token) : AppleMessage
Parameters
$token : string
Return values
AppleMessage

getProductionBatch()

Gets batch with ;2; modifier only for production server

public getProductionBatch(mixed $appMessages) : string
Parameters
$appMessages : mixed
Return values
string

getSandboxBatch()

Gets batch with ;1; modifier only for sandbox server

public getSandboxBatch(mixed $appMessages) : string
Parameters
$appMessages : mixed
Return values
string

shouldBeSent()

public static shouldBeSent(array<string|int, mixed> $messageRowData) : bool
Parameters
$messageRowData : array<string|int, mixed>
Return values
bool

        
On this page

Search results