Interface UserNotificationOperationBuilder.WithDuration<T>

    • Method Detail

      • duration

        T duration​(java.time.Duration duration)
            throws ValidationException
        Sets the duration to display the notification. By default a notification has no duration and the agent has to close the notification manually.
        Parameters:
        duration - the duration to display the notification
        Returns:
        the specific UserNotificationOperationBuilder instance of type T
        Throws:
        ValidationException - if the duration is not valid
        Since:
        12.13