Mobile20.0 iOS16.1 Ends a Live Activity that was started with StartLiveActivity. Use it when the thing the activity tracks is over, such as when a child is checked out or a service has started. The CommandParameter can be the activity's key as a string. To remove the activity from the Lock Screen right away, pass a LiveActivityParameters object with Immediate set to True. Otherwise iOS may leave the ended activity on the Lock Screen for a while. WarningAlways end an activity that shows a sensitive detail, such as a check-in security code, with Immediate set. NoteYour app must be built with Live Activities turned on. In apps built without it, this command does nothing. Properties PropertyTypeDescription ActivityKeystringThe key the activity was started with. Required. ImmediateboolRemoves the activity from the Lock Screen right away instead of letting iOS leave it there for a while. Defaults to false. Examples <Button Text="End Countdown" Command="{Binding EndLiveActivity}" CommandParameter="service" /> <Button Text="Check Out" Command="{Binding EndLiveActivity}"> <Button.CommandParameter> <Rock:LiveActivityParameters ActivityKey="checkin" Immediate="True" /> </Button.CommandParameter> </Button> Related StartLiveActivity starts a Live Activity.UpdateLiveActivity changes what a running Live Activity shows.