Package com.iizix.push.vapid
Class Notification.NotificationBuilder
java.lang.Object
com.iizix.push.vapid.Notification.NotificationBuilder
- Enclosing class:
- Notification
Method Summary
Modifier and TypeMethodDescriptionbuild()
payload
(byte[] payload) ttl
(int ttl) userAuth
(byte[] userAuth) userPublicKey
(byte[] publicKey) userPublicKey
(String publicKey) userPublicKey
(PublicKey publicKey)
Method Details
build
endpoint
userPublicKey
userPublicKey
public Notification.NotificationBuilder userPublicKey(String publicKey) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException userPublicKey
public Notification.NotificationBuilder userPublicKey(byte[] publicKey) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException userAuth
userAuth
payload
payload
ttl
urgency
topic