setPositionUpdateFrequency abstract method

Future<void> setPositionUpdateFrequency(
  1. int frequency
)

Set the frequency of real-time update locations within the SDK.

Available since: 2.21.0 Description: Set the frequency of real-time update locations within the SDK min 15 ms. Use case: After setting the update position, the sensitivity of audio gradient is very high. Default value: 100 ms. When to call: After initializing the range audio createRangeAudio.

  • frequency the frequency, the value must be greater than 15 ms.

Implementation

Future<void> setPositionUpdateFrequency(int frequency);