设置用户 ID

用户 ID 是应用程序为用户定义的唯一自定义访客标识符。

在 ADBMobile SDK 上设置并获取唯一的用户 ID,如下所示:

  • 设置:

    • Roku:

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

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

    • Roku:

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

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

On this page

Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now