Image: Landing page image. Can be an image URL or instance of UnityEngine.Texture2D.

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

Texture2DlandingPageImage=...;// get your image hereLinkParamslinkParams=newLinkParams();linkParams.Add(LinkParams.KeyCustomTitle,"Hey friend!");linkParams.Add(LinkParams.KeyCustomDescription,"Check out this record!");linkParams.Add(LinkParams.KeyCustomImage,landingPageImage);// Alternatively, you can add a YouTube video instead of an image:linkParams.Add(LinkParams.KeyCustomYouTubeVideo,"https://www.youtube.com/watch?v=dQw4w9WgXcQ");