Home > @magiclane/maps-sdk > GemCameraPlayer > dispose
GemCameraPlayer.dispose() method
Disposes of the controller and cleans up resources.
Removes the registered DataSourceListener from the data source, marks the controller as disposed, and cleans up resources. After calling this method, the controller cannot be used and should not be accessed.
Signature:
dispose(): void;Returns:
void