Table of Contents

Method PreviousAsync

Namespace
OBSStudioClient.Model
Assembly
OBSClient.dll

PreviousAsync(CancellationToken)

Goes to the previous item of the playlist of the media input, and returns when OBS Studio has answered.

public Task PreviousAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

Remarks

See NextAsync(CancellationToken): it is the same, backwards.

Exceptions

ObsRemovedException

The input was removed.

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.

ObsResponseException

OBS Studio refused the change.