VerificationSupportResult

class VerificationSupportResult(simSlotIndex: Int, carrierId: String, reason: Int)(source)

Whether a SIM of the device supports Phone Number Verification, mirroring com.google.firebase.pnv.VerificationSupportResult; from FirebasePhoneNumberVerification.getVerificationSupportInfo. Two results are equal when their SIM slot, carrier and reason are.

Plain common code: on Android it is the SDK class, which is also Parcelable.

Parameters

simSlotIndex

the slot of the SIM, see getSimSlot.

carrierId

the carrier of the SIM, see getCarrierId.

reason

one of the VerificationSupportStatus constants, see getReason.

Constructors

Link copied to clipboard
constructor(simSlotIndex: Int, carrierId: String, reason: Int)

Types

Link copied to clipboard
object Companion

The Android SDK class's companion object, which holds its Parcelable CREATOR there; no members here.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

The ID of the SIM's carrier.

Link copied to clipboard
fun getReason(): Int

Why the SIM does or does not support verification: one of the VerificationSupportStatus constants.

Link copied to clipboard

The slot of the SIM.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Whether the SIM supports verification: its getReason is VerificationSupportStatus.CAPABLE.