ViewModelProperty

constructor(unsafeCppPointer: Long, fileLock: ReentrantLock)

Parameters

unsafeCppPointer

Pointer to the C++ counterpart.

fileLock

Lock shared by the File and native graph this property mutates. Subclasses use it to synchronize native access and to migrate dependent wrappers in updateFileLock. Writes should be limited to updateFileLock implementations.