Image: Landing page image. Can be an image URL or instance of android.graphics.Bitmap.

Video: Landing page video to be displayed instead of an image. At the moment we support only YouTube video URLs.

Example:

Customize content via Smart Link parameters:

1
2
3
4
5
6
7
8
9

BitmaplandingPageImage=...;// get your image hereLinkParamslinkParams=newLinkParams();linkParams.put(LinkParams.KEY_CUSTOM_TITLE,"Hey friend!");linkParams.put(LinkParams.KEY_CUSTOM_DESCRIPTION,"Check out this record!");linkParams.put(LinkParams.KEY_CUSTOM_IMAGE,landingPageImage);// Alternatively, you can add a YouTube video instead of an image:linkParams.put(LinkParams.KEY_YOUTUBE_VIDEO,"https://www.youtube.com/watch?v=dQw4w9WgXcQ");