IncomingCallRetrieverRequest

class IncomingCallRetrieverRequest : Parcelable


Request for initiating incoming call retriever API for phone number verification. The mandatory parameters are the country code, at least one-digit prefix, and a lower bound and upper bound that must have the same number of digits. Therefore, in addition to the integer range, the number of digits of incoming call number must also be known and should be equal to number of digits in country code + number of digits in prefix + number of digits in lower bound.

Summary

Public constructors

IncomingCallRetrieverRequest(
    countryCode: String,
    prefix: String,
    startRange: String,
    endRange: String
)

Public functions

final Int
open Unit
writeToParcel(dest: Parcel, flags: Int)

Public properties

String

Country code of the caller phone number.

String

Upper bound of the phone number range from which the client should expect a call.

String

Prefix of the caller phone number.

String

Lower bound of the phone number range from which the client should expect a call.

Public companion properties

Public constructors

IncomingCallRetrieverRequest

IncomingCallRetrieverRequest(
    countryCode: String,
    prefix: String,
    startRange: String,
    endRange: String
)

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

open fun writeToParcel(dest: Parcel, flags: Int): Unit

Public properties

countryCode

val countryCodeString

Country code of the caller phone number. Always remove the leading + if present. Example: 1

endRange

val endRangeString

Upper bound of the phone number range from which the client should expect a call. This bound is inclusive and must be strictly greater than or equal to the startRange. Example: 999999

prefix

val prefixString

Prefix of the caller phone number. Example: 6576

startRange

val startRangeString

Lower bound of the phone number range from which the client should expect a call. This bound is inclusive and must be strictly less than or equal to the endRange. Example: 000000