Target Preview on Android

Target Preview allows you to easily perform end-to-end QA for Target activities and preview these activities on your device.

For more information on how to set up and use Target Preview, go to Target Mobile Preview.

IMPORTANT

To use Target Preview, you need SDK version 4.14.0 or later.

  • setPreviewRestartDeeplink

    Sets an app deeplink that will be triggered when preview selections are applied in the Preview mode.

    • Here is the syntax for this method:

      public static void setPreviewRestartDeeplink(String deeplink);
      
    • Here is the code sample for this method:

      Target.setPreviewRestartDeeplink(“myapp://myhost”); 
      

On this page