nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ ownership_claimed

void(* dult_multi_user_cb::ownership_claimed) (const struct dult_user *user, bool is_owner)

Ownership arbitration notification.

Called for every registered user when a user calls dult_enable and wins the arbitration. The is_owner flag reports the outcome for the user user refers to:

  • true when user became the associated user (it won dult_enable).
  • false when user was evicted because another user won dult_enable.

On eviction the user remains registered until the application calls dult_user_unregister as part of its own teardown.

is_owner reflects the outcome of the dult_enable this notification refers to.

Parameters
[in]userThe user the notification refers to.
[in]is_ownertrue if user became the associated user, false if it was evicted.