PushNotificationConfigBuilder
Builder class for creating PushNotificationConfig instances.
This builder provides a fluent API for creating PushNotificationConfig objects, making it easier to configure push notification settings.
Example usage:
val config = PushNotificationConfig.build {
url("https://example.org/notifications")
token("auth-token")
authentication {
type = AuthenticationInfo.Type.bearer
token = "bearer-token"
}
}Content copied to clipboard
Functions
Link copied to clipboard
Configures the authentication information using a Java-friendly Consumer.
Configures the authentication information using a lambda with receiver.
Link copied to clipboard
Builds a PushNotificationConfig instance with the configured parameters.
Link copied to clipboard
Sets the authentication token for push notifications.
Link copied to clipboard
Sets the URL for push notifications.