Contents

settingsDidChange(changes:context:for:)

Tells the provider that a person changed settings in the Home app.

Declaration

@MainActor func settingsDidChange(changes: [String : Any], context: Self.Context, for accessory: HMAccessory) async throws

Parameters

  • changes:

    The new values, keyed by setting identifier.

  • context:

    The context you supplied to Homeaccessorysettings.

  • accessory:

    The accessory to update.

See Also

Accessing the settings