Package com.incode.welcome_sdk.modules
Class Geolocation.Builder
-
- All Implemented Interfaces:
public final class Geolocation.Builder
-
-
Constructor Summary
Constructors Constructor Description Geolocation.Builder()
-
Method Summary
Modifier and Type Method Description final Geolocation.BuildersetSkippable(Boolean skippable)Controls the result code published when the user exits the geolocation module without a fix. final Geolocationbuild()-
-
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 stepon the permission-denied screen after denying location permission, andtapping the action button on the
Location unavailablescreen 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 withResultCode.ERRORand triggersOnboardingListener.onError(andOnboardingListener.onGeolocationUnavailable).- Parameters:
skippable- If true, user can skip and the flow continues.- Returns:
-
build
final Geolocation build()
-
-
-
-