getAppropriateImageUrl

fun getAppropriateImageUrl(inAppMessage: IInAppMessageWithImage): String?

Gets either the local or remote image URL for an in-app message containing an image.

Return

The local image URL, if present. Otherwise, return the remote image URL. Local image URLs are URLs for images pre-fetched by the SDK for triggers.

Parameters

inAppMessage

The in-app message with an image.