setAndStartAnimation

open fun setAndStartAnimation(opening: Boolean)

Instantiates and executes the correct animation for the current in-app message. Slideup-type messages slide in from the top or bottom of the view. Other in-app messages fade in and out of view.