endRepeat Method

Requests that repeating for this Switch be ended. If this Switch is not currently playing, no action is taken.

Note that this is not an “abort” – repeating will be ended after any currently playing individual repeat of the Switch completes.

This method is permitted for serial repeating only, it is not supported for parallel repeating and an error will be generated if it is attempted to call this method for a parallel repeat.

void endRepeat()