onSubscriptionNotify

abstract fun onSubscriptionNotify(@Nullable accountId: String, @NonNull subscriptionId: String, @NonNull contentType: String, @NonNull body: String)

Subscription received NOTIFY message

Parameters

accountId

Account the subscription is associated with; null if feature Multiple Accounts is not provided.

subscriptionId

Subscription whose state changed;

contentType

Content type of the notification body;

body

The notification body.