Index

B C D E G I O P S V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

B

BUSINESS - Enum constant in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppClientType
 

C

CALLER_INFO - Static variable in class com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder
 
com.whatsapp.otp.android.sdk - package com.whatsapp.otp.android.sdk
 
com.whatsapp.otp.android.sdk.data - package com.whatsapp.otp.android.sdk.data
 
com.whatsapp.otp.android.sdk.enums - package com.whatsapp.otp.android.sdk.enums
 
com.whatsapp.otp.android.sdk.exceptions - package com.whatsapp.otp.android.sdk.exceptions
 
CONSUMER - Enum constant in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppClientType
 
create(Context, WhatsAppClientType) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder
Create a intent to WhatsApp

D

DebugSignal - Class in com.whatsapp.otp.android.sdk.data
Holder for debug signals attributes
DebugSignal(String, String) - Constructor for class com.whatsapp.otp.android.sdk.data.DebugSignal
Constructor
DEFAULT_VERSION - Static variable in class com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder
 
disableComponent(Context, Class<?>) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpUtils
Disable a given component.

E

enableComponent(Context, Class<?>) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpUtils
Enable a given component.

G

GENERIC_EXCEPTION - Enum constant in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppOtpError
Failure when extracting otp code
getDebugSignalFromWhatsAppIntent(Intent) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler
Extract DebugSignal from WhatsApp Intent
getOtpCodeFromWhatsAppIntent(Intent) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler
Extract code from WhatsAppIntent
getPackageName() - Method in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppClientType
 

I

INTENT_IS_NOT_FROM_WHATSAPP - Enum constant in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppOtpError
Intent is not from WhatsApp
InvalidWhatsAppOtpIntentException - Exception in com.whatsapp.otp.android.sdk.exceptions
 
InvalidWhatsAppOtpIntentException(String) - Constructor for exception com.whatsapp.otp.android.sdk.exceptions.InvalidWhatsAppOtpIntentException
 
isIntentFromWhatsApp(Intent) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler
Check if the intent is from WhatsApp app by checking its pending intent creator package
isIntentFromWhatsApp(Intent, WhatsAppClientType...) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler
Check if the intent is from WhatsApp app by checking its pending intent creator package
isWhatsAppInstalled(Context) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Check if either WhatsApp consumer or business app is installed on the device
isWhatsAppInstalled(Context, WhatsAppClientType) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Check if WhatsApp is installed on the device.
isWhatsAppOtpHandshakeSupported(Context) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Checks if either WhatsApp consumer or business has support for the otp handshake if installed.
isWhatsAppOtpHandshakeSupported(Context, WhatsAppClientType) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Checks if WhatsApp has support for the otp handshake.

O

OTP_CODE_NOT_RECEIVED - Enum constant in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppOtpError
Otp code is not present (this should not happend)
otpErrorIdentifier - Variable in class com.whatsapp.otp.android.sdk.data.DebugSignal
An identifier for the error
otpErrorMessage - Variable in class com.whatsapp.otp.android.sdk.data.DebugSignal
A message for the error

P

processOtpCode(Intent, Consumer<String>, BiConsumer<WhatsAppOtpError, Exception>) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler
Process code using the onCodePresent if the code is present or handle error using errorHandler if the code is not present, if the intent is not valid, or if something else doesn't work out while extracting the code from the intent.
processOtpDebugSignals(Intent, Consumer<DebugSignal>, BiConsumer<WhatsAppOtpError, Exception>) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler
Process debug signals using the debugSignalConsumer if debug signals are present or handle the error using errorHandler if the debugs signals are not present.

S

SDK_VERSION - Static variable in class com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder
 
sendOtpIntentToWhatsApp(Context) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Send and otp intent to both WhatsApp consumer and business app.
sendOtpIntentToWhatsApp(Context, WhatsAppClientType) - Method in class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Send and otp intent to WhatsApp.

V

valueOf(String) - Static method in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppClientType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppOtpError
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppClientType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.whatsapp.otp.android.sdk.enums.WhatsAppOtpError
Returns an array containing the constants of this enum class, in the order they are declared.

W

WhatsAppClientType - Enum Class in com.whatsapp.otp.android.sdk.enums
 
WhatsAppOtpError - Enum Class in com.whatsapp.otp.android.sdk.enums
 
WhatsAppOtpHandler - Class in com.whatsapp.otp.android.sdk
Class responsible for handling intents sent to WhatsApp
WhatsAppOtpHandler() - Constructor for class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Default constructor
WhatsAppOtpHandler(boolean) - Constructor for class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Constructor which lets developer define if sdk version should be sent in the request.
WhatsAppOtpHandler(WhatsAppOtpIntentBuilder) - Constructor for class com.whatsapp.otp.android.sdk.WhatsAppOtpHandler
Constructor.
WhatsAppOtpIncomingIntentHandler - Class in com.whatsapp.otp.android.sdk
Class to handle intents coming from WhatsApp
WhatsAppOtpIncomingIntentHandler() - Constructor for class com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler
 
WhatsAppOtpIntentBuilder - Class in com.whatsapp.otp.android.sdk
Class used to build an intent to send to WhatsApp Extends this class if you want to change anything
WhatsAppOtpIntentBuilder() - Constructor for class com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder
 
WhatsAppOtpIntentBuilder(boolean) - Constructor for class com.whatsapp.otp.android.sdk.WhatsAppOtpIntentBuilder
 
WhatsAppOtpUtils - Class in com.whatsapp.otp.android.sdk
Class with some utility functions which helps manage Broadcast receivers and Activities
WhatsAppOtpUtils() - Constructor for class com.whatsapp.otp.android.sdk.WhatsAppOtpUtils
 
B C D E G I O P S V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form