Set user IDs

Last update: 2022-11-11
  • Created for:
  • User
    Admin
    Developer

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