Set user IDs 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:
code language-none ADBMobile().setUserIdentifer("app-generated-unique-id")
-
Chromecast:
code language-none ADBMobile().config.setUserIdentifer("app-generated-unique-id");
-
-
Get:
-
Roku:
code language-none vid = ADBMobile().userIdentifer()
-
Chromecast:
code language-none vid = ADBMobile().config.getUserIdentifer();
-
recommendation-more-help
c8eee520-cef5-4f8c-a38a-d4952cfae4eb