removeWifiRttGenerator method

  1. @override
void removeWifiRttGenerator(
  1. String hash
)
override

Method removes a specific Wi-Fi RTT generator by its identifier. hash Unique identifier of the Wi-Fi RTT generator to remove.

Example:

// Remove specific Wi-Fi RTT generator
_measurementManager!.removeWifiRttGenerator(wifiRttId);
print("Removed Wi-Fi RTT generator: $wifiRttId");

Implementation

@override
void removeWifiRttGenerator(String hash) {
    final _removeWifiRttGeneratorFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Void Function(Pointer<Void>, NativeString),
        void Function(Pointer<Void>, NativeString)
      >('navigine_sdk_flutter_MeasurementManager_removeWifiRttGenerator__Hash'));
    _removeWifiRttGeneratorFfi(this.ptr, toNativeString(hash));
    exception.checkCallResult();
}