Language
Edit

IDataSource.NotifyDataChanged(String, Object, DataChangeType, Boolean) Method

Definition

Inform data source that its data has changed.

public void NotifyDataChanged(string keyPath, object value, MixedReality.Toolkit.Data.DataChangeType changeType, bool isAtomicChange);
abstract member NotifyDataChanged : string * obj * MixedReality.Toolkit.Data.DataChangeType * bool -> unit
Public Sub NotifyDataChanged (keyPath As String, value As Object, changeType As DataChangeType, isAtomicChange As Boolean)

Parameters

keyPath
String

The resolved keypath of the data that has changed.

value
Object

The value of the changed item

changeType
DataChangeType

The type of change that has occurred.

isAtomicChange
Boolean

Is this the only change notification in a set of related changes.

Remarks

This is used in situations where SetValue(String, Object, Boolean) is not being used to modify the managed data, and the data source is not otherwise aware that the data has changed. This directly propagates the notification to all data consumers who are listening for this specific key path.

Applies to