Class Geolocation.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Geolocation.Builder setSkippable(Boolean skippable) Controls the result code published when the user exits the geolocation module without a fix.
      final Geolocation build()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Geolocation.Builder

        Geolocation.Builder()
    • Method Detail

      • setSkippable

         final Geolocation.Builder setSkippable(Boolean skippable)

        Controls the result code published when the user exits the geolocation module without a fix. This applies to both:

        • tapping Skip this step on the permission-denied screen after denying location permission, and

        • tapping the action button on the Location unavailable screen once retries are exhausted (or when the device reports location services as unavailable from the start).

        If true, the flow continues with ResultCode.SUCCESS. If false, the flow ends with ResultCode.ERROR and triggers OnboardingListener.onError (and OnboardingListener.onGeolocationUnavailable).

        Parameters:
        skippable - If true, user can skip and the flow continues.
        Returns:

        Builder