getViewModelInstanceNames

suspend fun getViewModelInstanceNames(fileHandle: FileHandle, viewModelName: String): List<String>

Query the file for available view model instance names for the given view model. Returns on onViewModelInstancesListed.

Return

A list of view model instance names 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.