setData abstract method

void setData(
  1. DataProviderWithId gltfDataProvider,
  2. Callback onFinished
)

Sets gltf data provider.

The class maintains a strong reference to the object in the 'gltfDataProvider' parameter until it (the class) is invalidated.

onFinished Called when the model is loaded.

Implementation

void setData(
    mapkit_map_data_provider_with_id.DataProviderWithId gltfDataProvider,
    mapkit_map_callback.Callback onFinished);