public class PKSendPushNotificationUtil extends Object implements AutoCloseable
| Constructor and Description |
|---|
PKSendPushNotificationUtil(String keyStorePath,
char[] keyStorePassword) |
PKSendPushNotificationUtil(String keyStorePath,
char[] keyStorePassword,
int poolSize) |
PKSendPushNotificationUtil(String keyStorePath,
String keyStorePassword)
Deprecated.
|
PKSendPushNotificationUtil(String keyStorePath,
String keyStorePassword,
int poolSize)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
sendMultiplePushNotifications(List<String> pushtokens)
Deprecated.
|
void |
sendPushNotification(String pushtoken)
Deprecated.
|
com.turo.pushy.apns.util.concurrent.PushNotificationFuture<com.turo.pushy.apns.util.SimpleApnsPushNotification,com.turo.pushy.apns.PushNotificationResponse<com.turo.pushy.apns.util.SimpleApnsPushNotification>> |
sendPushNotificationAsync(String pushtoken) |
void |
setClient(com.turo.pushy.apns.ApnsClient client) |
public PKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword) throws IOException
IOExceptionpublic PKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword, int poolSize) throws IOException
IOException@Deprecated public PKSendPushNotificationUtil(String keyStorePath, String keyStorePassword) throws IOException
IOException@Deprecated public PKSendPushNotificationUtil(String keyStorePath, String keyStorePassword, int poolSize) throws IOException
IOExceptionpublic void setClient(com.turo.pushy.apns.ApnsClient client)
@Deprecated public void sendPushNotification(String pushtoken)
public com.turo.pushy.apns.util.concurrent.PushNotificationFuture<com.turo.pushy.apns.util.SimpleApnsPushNotification,com.turo.pushy.apns.PushNotificationResponse<com.turo.pushy.apns.util.SimpleApnsPushNotification>> sendPushNotificationAsync(String pushtoken)
@Deprecated public void sendMultiplePushNotifications(List<String> pushtokens)
public void close()
throws InterruptedException
close in interface AutoCloseableInterruptedExceptionCopyright © 2012–2020. All rights reserved.