Class VerificationMethod
- java.lang.Object
-
- com.sinch.sdk.core.utils.EnumDynamic<String,VerificationMethod>
-
- com.sinch.sdk.domains.verification.models.v1.VerificationMethod
-
public class VerificationMethod extends EnumDynamic<String,VerificationMethod>
The type of the verification request.
-
-
Field Summary
Fields Modifier and Type Field Description static VerificationMethodDATAData verification.static VerificationMethodFLASH_CALLVerification by placing a flashVerificationResultEvent call (missed call) and detecting the incoming calling number (CLI).static VerificationMethodPHONE_CALLVerification by placing a PSTN call to the user's phone and playing an announcement, asking the user to press a particular digit to verify the phone number.static VerificationMethodSMSVerification by SMS message with a PIN code.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VerificationMethodfrom(String value)static StringvalueOf(VerificationMethod e)static Stream<VerificationMethod>values()-
Methods inherited from class com.sinch.sdk.core.utils.EnumDynamic
equals, hashCode, toString, value
-
-
-
-
Field Detail
-
SMS
public static final VerificationMethod SMS
Verification by SMS message with a PIN code.
-
FLASH_CALL
public static final VerificationMethod FLASH_CALL
Verification by placing a flashVerificationResultEvent call (missed call) and detecting the incoming calling number (CLI).
-
PHONE_CALL
public static final VerificationMethod PHONE_CALL
Verification by placing a PSTN call to the user's phone and playing an announcement, asking the user to press a particular digit to verify the phone number.
-
DATA
public static final VerificationMethod DATA
Data verification. Verification by accessing internal infrastructure of mobile carriers to verify if given verification attempt was originated from device with matching phone number.
-
-
Method Detail
-
values
public static Stream<VerificationMethod> values()
-
from
public static VerificationMethod from(String value)
-
valueOf
public static String valueOf(VerificationMethod e)
-
-