Package com.incode.welcome_sdk.modules
Class Phone.Builder
-
- All Implemented Interfaces:
public final class Phone.Builder
-
-
Constructor Summary
Constructors Constructor Description Phone.Builder()
-
Method Summary
Modifier and Type Method Description final Phone.Builder
setOtpVerificationEnabled(Boolean enabled)
final Phone.Builder
setDefaultRegionPrefix(Integer phoneNumberPrefix)
final Phone
build()
-
-
Method Detail
-
setOtpVerificationEnabled
final Phone.Builder setOtpVerificationEnabled(Boolean enabled)
- Parameters:
enabled
- If true, OTP verification will be shown after entering a phone number.- Returns:
-
setDefaultRegionPrefix
final Phone.Builder setDefaultRegionPrefix(Integer phoneNumberPrefix)
- Parameters:
phoneNumberPrefix
- Up to a 4 digit number that if set, will override the current default prefix we put based on a carrier or the current region selected on user’s device.- Returns:
-
-
-
-