Class WhatsAppOtpIntentBuilder

java.lang.Object
com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder

public class WhatsAppOtpIntentBuilder extends Object
Class used to build an intent to send to WhatsApp Extends this class if you want to change anything
  • Field Details

  • 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 context
      type - consumer or business
      Returns:
      an intent to be sent to WhatsApp.