beforeClosed
Called before the in-app message View is removed (and before any closing animation starts).
Parameters
inAppMessageView
inAppMessage
Called before the in-app message View is removed (and before any closing animation starts).