TurbulenceResultType

public enum TurbulenceResultType

Fetched from the server and own tracked data are stored locally on the device up to the maximum supported time and removed when not needed anymore. Using TurbulenceQuery.type it is possible to query for server-only data or own-only data. For example, when showing server and own tracked data on different map layers differently.

  • Turbulence data received from the server. If your own tracked data has not been sent to the server yet, it will not include or take into account it.

    Declaration

    Swift

    case server
  • Turbulence data received from the server taking into account own tracked data in both cases when it was already sent or not yet. Server turbulence in the tiles which have their own tracked data for specified timeSpan time in minutes will be excluded from the result. Can be used to show server and own turbulence reports on different map layers differently: hexagons for server and circles for own reports.

    Declaration

    Swift

    case serverExcludeOwn(timeSpan: Int)
  • Own data tracked on the current device. Set timeSpan in minutes to query for this amount of history time.

    Declaration

    Swift

    case own(timeSpan: Int)