I'm not really familiar with Live Activities, but I understand that you get a context that has some state and attributes passed from your main app. I'm assuming when this changes, that is your trigger.
Topic:
UI Frameworks
SubTopic:
SwiftUI