VerificationSupportResult

public final class VerificationSupportResult implements Parcelable


Represents the result of a verification support check.

Summary

Public fields

static final @NonNull Parcelable.Creator<@NonNull VerificationSupportResult>

Parcelable.Creator for VerificationSupportResult.

Public constructors

VerificationSupportResult(
    int simSlotIndex,
    @NonNull String carrierId,
    int reason
)

Public methods

final int
boolean
equals(Object other)
final @NonNull String

Returns the operator name of the SIM card.

final int

Returns the capability status of the SIM card.

final int

Returns the index of the SIM slot.

int
final boolean

Indicates whether the verification capability is supported.

void
writeToParcel(@NonNull Parcel dest, int flags)

Writes the object's data to a Parcel.

Inherited methods

From android.os.Parcelable
int

Public fields

CREATOR

public static final @NonNull Parcelable.Creator<@NonNull VerificationSupportResultCREATOR

Parcelable.Creator for VerificationSupportResult.

Public constructors

VerificationSupportResult

public VerificationSupportResult(
    int simSlotIndex,
    @NonNull String carrierId,
    int reason
)

Public methods

describeContents

public final int describeContents()

equals

public boolean equals(Object other)

getCarrierId

public final @NonNull String getCarrierId()

Returns the operator name of the SIM card.

Returns
@NonNull String

The operator name of the SIM card.

getReason

public final int getReason()

Returns the capability status of the SIM card.

Returns
int

The capability status of the SIM card.

getSimSlot

public final int getSimSlot()

Returns the index of the SIM slot.

Returns
int

The index of the SIM slot.

hashCode

public int hashCode()

isSupported

public final boolean isSupported()

Indicates whether the verification capability is supported.

Returns
boolean

true if the capability is supported, false otherwise.

writeToParcel

public void writeToParcel(@NonNull Parcel dest, int flags)

Writes the object's data to a Parcel.

Parameters
@NonNull Parcel dest

The Parcel in which the object should be written.

int flags

Additional flags about how the object should be written.