Braze View Bounds
Wrapper for the width x height of different views used in the Braze SDK. All dimensions are in dp units.
Entries
Width: See https://android.googlesource.com/platform/frameworks/base/+/6675721/packages/SystemUI/res/layout/system_bar_notification_panel.xml Height: See https://android.googlesource.com/platform/frameworks/base/+/6387d2f6dae27ba6e8481883325adad96d3010f4/core/res/res/layout/notification_template_big_picture.xml
Width: https://developer.android.com/reference/android/R.dimen.html#notification_large_icon_width Height: https://developer.android.com/reference/android/R.dimen.html#notification_large_icon_height
Since the size of the image in an in-app message can be overridden, we double the bounds here to not over sample the image if the modal is larger than the default values found in BrazeInAppMessageParams. For in-app messages that expand to the full width/height of the screen, we'll just let them be as large as possible.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.