getViewModelProperties

suspend fun getViewModelProperties(fileHandle: FileHandle, viewModelName: String): List<ViewModel.Property>

Query the file for available view model properties for the given view model. Returns on onViewModelPropertiesListed.

Return

A list of properties on the view model.

Parameters

fileHandle

The handle of the file that owns the view model.

viewModelName

The name of the view model to query.

Throws

If the file handle is invalid or the named view model does not exist.

If the CommandQueue has been released.

If the coroutine is cancelled before the operation completes.