Table of Contents

Method AddSetPersistentDataRequest

Namespace
OBSStudioClient.Messages
Assembly
OBSClient.dll

AddSetPersistentDataRequest(Realm, string, object)

Adds a SetPersistentData request to the batch.

public void AddSetPersistentDataRequest(Realm realm, string slotName, object slotValue)

Parameters

realm Realm

The data realm to select. OBS_WEBSOCKET_DATA_REALM_GLOBAL or OBS_WEBSOCKET_DATA_REALM_PROFILE.

slotName string

The name of the slot to retrieve data from.

slotValue object

The value to apply to the slot.

Remarks

Sets the value of a "slot" from the selected persistent data realm.