Interface UserNotificationOperationBuilder.WithDimensions<T>
-
- All Known Subinterfaces:
UserNotificationOperationBuilder.Alert
,UserNotificationOperationBuilder.Alert.Html
,UserNotificationOperationBuilder.Alert.Text
,UserNotificationOperationBuilder.Alert.WithMessage<T>
- Enclosing interface:
- UserNotificationOperationBuilder
public static interface UserNotificationOperationBuilder.WithDimensions<T>
This interface represents a specific builder to display a notification with dimensions.- Since:
- 12.39
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
dimensions(int width, int height)
Applies the dimensions to the notification.
-
-
-
Method Detail
-
dimensions
T dimensions(int width, int height) throws ValidationException
Applies the dimensions to the notification.- Parameters:
width
- the width for the notificationheight
- the height for the notification- Returns:
- the specific
UserNotificationOperationBuilder
instance of type T - Throws:
ValidationException
- if the dimensions are invalid- Since:
- 12.39
-
-