sensorSource property

ArSensorSource? sensorSource
final

Source of fused sensor/location samples. Defaults to a device-backed ArSensorManager instantiated per ArView, paused while the app is in background. Provide your own implementation (e.g. a fake source) to test without real hardware or to share a single sensor pipeline across multiple views. A provided source is neither paused nor disposed by ArView: its owner is responsible for it.

Implementation

final ArSensorSource? sensorSource;