setContactKey

Sets the contact key for the device to associate it with a specific contact in Marketing Cloud.

  • contactKey (String) - The unique identifier for the contact
  • Future<void> - Completes when the contact key has been set.