Package com.whatsapp.otp.android.sdk
Class WhatsAppOtpIntentBuilder
java.lang.Object
com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder
Class used to build an intent to send to WhatsApp
Extends this class if you want to change anything
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandroid.content.Intentcreate(android.content.Context context, WhatsAppClientType type) Create a intent to WhatsApp
-
Field Details
-
CALLER_INFO
- See Also:
-
SDK_VERSION
- See Also:
-
DEFAULT_VERSION
- See Also:
-
-
Constructor Details
-
WhatsAppOtpIntentBuilder
public WhatsAppOtpIntentBuilder() -
WhatsAppOtpIntentBuilder
public WhatsAppOtpIntentBuilder(boolean sendSdkVersion)
-
-
Method Details
-
create
@NonNull public android.content.Intent create(@NonNull android.content.Context context, @NonNull WhatsAppClientType type) Create a intent to WhatsApp- Parameters:
context- application contexttype- consumer or business- Returns:
- an intent to be sent to WhatsApp.
-