Tuple
class Tuple
Constants
BINARY_LENGTH |
Length of a feedback tuple (Internal use). Equals 4 timestamp + 2 tokenlength + 32 token = 38 |
Methods
__construct(int $invalidatedAtTimestamp, string $deviceToken, Certificate $certificate)
Construct Tuple
getInvalidatedAt()
Moment the device unregistered.
string
getDeviceToken()
Get the device token of the device that unregistered
getCertificate()
Get the certificate used while receiving this tuple
Details
at line 26
__construct(int $invalidatedAtTimestamp, string $deviceToken, Certificate $certificate)
Construct Tuple
at line 61
DateTime
getInvalidatedAt()
Moment the device unregistered.
Note: Check if the device didn't re-register after this moment before deleting it! Note: This DateTime object is in the UTC timezone.
at line 71
string
getDeviceToken()
Get the device token of the device that unregistered
at line 81
Certificate
getCertificate()
Get the certificate used while receiving this tuple