IncomingCallRetrieverResponse

class IncomingCallRetrieverResponse : Parcelable


A response object representing the outcome of a incoming call verification.

Summary

Public constructors

IncomingCallRetrieverResponse(
    phoneNumber: String?,
    incomingCallVerificationStatusCode: String,
    errorDetails: String?
)

Public functions

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

Public properties

String?

The details for the failure of the incoming call verification.

String

The status code representing the result of the incoming call verification.

String?

The phone number from which the incoming call verification was received.

Public companion properties

Public constructors

IncomingCallRetrieverResponse

IncomingCallRetrieverResponse(
    phoneNumber: String?,
    incomingCallVerificationStatusCode: String,
    errorDetails: String?
)

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

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

Public properties

errorDetails

val errorDetailsString?

The details for the failure of the incoming call verification. This value will be null if the verification was successful or if no specific error details are provided.

incomingCallVerificationStatusCode

val incomingCallVerificationStatusCodeString

The status code representing the result of the incoming call verification. It must be a value from IncomingCallRetrieverStatusCodes or CommonStatusCodes.

phoneNumber

val phoneNumberString?

The phone number from which the incoming call verification was received. This value will be null if the verification was not successful.