Package es.situm.sdk.location
Class DiagnosticsOptions.Builder
- java.lang.Object
-
- es.situm.sdk.location.DiagnosticsOptions.Builder
-
- Enclosing class:
- DiagnosticsOptions
public static class DiagnosticsOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DiagnosticsOptions copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiagnosticsOptions
build()
DiagnosticsOptions.Builder
uploadDiagnosticsData(boolean uploadDiagnosticsData)
Configures whether or not to upload diagnostics and telemetry data.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(@NonNull DiagnosticsOptions copy)
-
-
Method Detail
-
uploadDiagnosticsData
public DiagnosticsOptions.Builder uploadDiagnosticsData(boolean uploadDiagnosticsData)
Configures whether or not to upload diagnostics and telemetry data. Enabling this option is beneficial for support purposes, as the telemetry data contains valuable insights that the Situm team can analyze to identify and resolve positioning issues more effectively.
Additionally, when beacons are correctly configured, battery level readings are included in the telemetry data. These readings can assist in monitoring beacon performance and proactively addressing potential hardware issues.- Parameters:
uploadDiagnosticsData
- True to enable uploading of diagnostics and telemetry data, false otherwise. The default value is true.- Returns:
- The current instance of the Builder to allow method chaining.
-
build
public DiagnosticsOptions build()
-
-