getFeatures

Retrieves the features in the scene asynchronously and provides a completion callback.

Parameters

result

The completion callback to handle the result or error.


suspend fun getFeatures(): List<Feature>

Retrieves the features in the scene asynchronously.

Return

The list of features in the scene.

Throws

if the scene package is not loaded.


suspend fun getFeatures(keyword: String): List<Feature>

Retrieves the features in the scene that match the specified keyword asynchronously.

Return

The list of features matching the keyword.

Parameters

keyword

The keyword to search for.

Throws

if the scene package is not loaded.


Retrieves the features in the scene that match the specified keyword asynchronously and provides a completion callback.

Parameters

keyword

The keyword to search for.

result

The completion callback to handle the result or error.

Throws

if the scene package is not loaded.


suspend fun <T> getFeatures(classType: Class<T>): List<Feature>

Retrieves the features in the scene that match the specified class type asynchronously.

Return

The list of features matching the class type.

Parameters

classType

The class type to search for.

Throws

if the scene package is not loaded.


fun <T> getFeatures(classType: Class<T>, result: CompletionCallback<List<Feature>>)

Retrieves the features in the scene that match the specified class type asynchronously and provides a completion callback.

Parameters

classType

The class type to search for.

result

The completion callback to handle the result or error.

Throws

if the scene package is not loaded.