Method ClearTransitionOverrideAsync
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
ClearTransitionOverrideAsync(CancellationToken)
Takes the transition and the duration of the scene away: the scene uses the current ones again.
public Task ClearTransitionOverrideAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token that ends the wait. A change that was not sent yet is not sent.
Returns
- Task
A task that completes when OBS Studio has answered that it made the change.
Remarks
It is SetTransitionOverrideAsync(string?, TimeSpan?, CancellationToken) with nothing.
Exceptions
- ObsRemovedException
The scene was destroyed.
- ObsNotConnectedException
There is no connection to OBS Studio. Nothing was changed.
- ObsNotReadyException
OBS Studio is changing its scene collection, or did so after the call. Nothing was changed.
- ObsUnknownOutcomeException
OBS Studio did not answer in time, or the connection ended: it is not known whether it made the change.