Set user IDs

The user ID is a unique custom visitor identifier defined by the application for a user.

Set and get the unique user ID on the ADBMobile SDK as follows:

  • Set:

    • Roku:

      ADBMobile().setUserIdentifer("app-generated-unique-id")
      
    • Chromecast:

      ADBMobile().config.setUserIdentifer("app-generated-unique-id");
      
  • Get:

    • Roku:

      vid = ADBMobile().userIdentifer()
      
    • Chromecast:

      vid = ADBMobile().config.getUserIdentifer();
      

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free