Home > @magiclane/maps-sdk > DataSource > setConfiguration
DataSource.setConfiguration() method
Update the configuration for the specified type.
Signature:
setConfiguration(config: PositionSensorConfiguration, type?: DataType): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
config |
The configuration to be applied | |
|
type |
(Optional) The data type for which the configuration will be set (default: DataType.position) |
Returns:
GemError
GemError.success on success