void SystemUI.UpdateSystemUIItems(List<[TrayItemSO](#)> itemsToRemove, List<[TrayItemSO](#)> itemsToAdd)
9/4/25Less than 1 minute
Member of ML.SDK.SystemUI
Method
void SystemUI.UpdateSystemUIItems(List<[TrayItemSO](#)>
itemsToRemove, List<[TrayItemSO](#)>
itemsToAdd)
void SystemUI.UpdateSystemUIItems(List`<TrayItemSO>` itemsToRemove, List`<TrayItemSO>` itemsToAdd);
Parameters
Parameter | Type | Description |
---|---|---|
itemsToRemove | List<[TrayItemSO](#)> | Items To Remove |
itemsToAdd | List<[TrayItemSO](#)> | Items To Add |
Returns
Summary
First removes the items, then add the items.Registers the items in the itemsToAdd, and Unregister the items in the itemsToRemove.passing null will have no effect.Priority is always to item addition: if the same item is passed to both itemsToRemove and itemsToAdd to both then the item will be added.