設定使用者 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();
      

本頁內容

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
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