Package | Description |
---|---|
com.notnoop.apns | |
com.notnoop.apns.internal |
Modifier and Type | Class and Description |
---|---|
class |
EnhancedApnsNotification
Represents an APNS notification to be sent to Apple service.
|
class |
SimpleApnsNotification
Deprecated.
use EnhancedApnsNotification instead.
|
Modifier and Type | Method and Description |
---|---|
ApnsNotification |
ApnsService.push(byte[] deviceToken,
byte[] payload)
Sends a push notification with the provided
payload to the
iPhone of deviceToken . |
ApnsNotification |
ApnsService.push(String deviceToken,
String payload)
Sends a push notification with the provided
payload to the
iPhone of deviceToken . |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ApnsNotification> |
ApnsService.push(Collection<byte[]> deviceTokens,
byte[] payload)
Sends a bulk push notification with the provided
payload to iPhone of deviceToken s set. |
Collection<? extends ApnsNotification> |
ApnsService.push(Collection<String> deviceTokens,
String payload)
Sends a bulk push notification with the provided
payload to iPhone of deviceToken s set. |
Modifier and Type | Method and Description |
---|---|
void |
ApnsDelegateAdapter.messageSendFailed(ApnsNotification message,
Throwable e) |
void |
ApnsDelegate.messageSendFailed(ApnsNotification message,
Throwable e)
Called when the delivery of the message failed for any reason
If message is null, then your notification has been rejected by Apple but
it has been removed from the cache so it is not possible to identify
which notification caused the error.
|
void |
ApnsDelegateAdapter.messageSent(ApnsNotification message,
boolean resent) |
void |
ApnsDelegate.messageSent(ApnsNotification message,
boolean resent)
Called when message was successfully sent to the Apple servers
|
void |
ApnsService.push(ApnsNotification message)
Sends the provided notification
message to the desired
destination. |
void |
StartSendingApnsDelegate.startSending(ApnsNotification message,
boolean resent)
Called when message is about to be sent to the Apple servers.
|
Modifier and Type | Method and Description |
---|---|
void |
QueuedApnsService.push(ApnsNotification msg) |
void |
BatchApnsService.push(ApnsNotification message) |
void |
ApnsServiceImpl.push(ApnsNotification msg) |
void |
ApnsPooledConnection.sendMessage(ApnsNotification m) |
void |
ApnsConnectionImpl.sendMessage(ApnsNotification m) |
void |
ApnsConnection.sendMessage(ApnsNotification m) |
Copyright © 2015. All rights reserved.