NotificationServiceExtension

NotificationServiceExtension allows to customize push notification behaviour. All NotificationServiceExtension ancestors must be public and must contain public constructor without parameters. Application will crash on startup if this requirement is not met. Custom NotificationServiceExtension should be registered in AndroidManifest.xml metadata as follows:


        <meta-data
            android:name="com.pushwoosh.notification_service_extension"
            android:value="com.your.package.YourNotificationServiceExtension" />
    

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun handleMessage(pushBundle: Bundle)
Handles push arrival.
Link copied to clipboard
fun handleNotification(pushBundle: Bundle)
Handles notification open.
Link copied to clipboard
fun handleNotificationCanceled(pushBundle: Bundle)
Handles notification cancel.
Link copied to clipboard
Handles notifications group open.