Package tigase.push.api
Interface IPushProvider
-
- All Known Implementing Classes:
AbstractProvider,APNsBinaryApiProvider,FcmXmppApiProvider
public interface IPushProviderCreated by andrzej on 31.12.2016.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIPushProvider.Feature
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetName()default java.util.Optional<java.lang.Integer>maxPayloadSize()java.util.concurrent.CompletableFuture<java.lang.String>pushNotification(IPushSettings.IDevice device, INotification notification)default java.util.Set<IPushProvider.Feature>supportedFeatures()
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getDescription
java.lang.String getDescription()
-
pushNotification
java.util.concurrent.CompletableFuture<java.lang.String> pushNotification(IPushSettings.IDevice device, INotification notification)
- Parameters:
device-notification-- Returns:
- notification ID as String
-
maxPayloadSize
default java.util.Optional<java.lang.Integer> maxPayloadSize()
-
supportedFeatures
default java.util.Set<IPushProvider.Feature> supportedFeatures()
-
-