# CallVerificationVerdict


```
class CallVerificationVerdict : Parcelable
```

<br />

*** ** * ** ***

Represents the verdict of a call verification performed by the Bank App.

## Summary

| ### Nested types |
|---|
| `@https://developer.android.com/reference/androidx/annotation/IntDef.html(value = [0, 1, 2, 3, 4]) @https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.annotation/-retention/index.html(value = https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.annotation/-annotation-retention/-s-o-u-r-c-e/index.html) annotation https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict.VerificationState` Defines the possible integer constants for the verification state. |

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#LEGIT_CALL() = 1` Indicates the call is confirmed to be legitimate by the Bank App. |
| `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#NOT_LEGIT_CALL() = 2` Indicates the call is confirmed to be not legitimate by the Bank App. |
| `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#UNKNOWN() = 0` Indicates the call verification status is unknown. |
| `const https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#VERDICT_INCONCLUSIVE() = 3` Indicates the Bank App tried to determine the call's legitimacy, but couldn't definitively determine it. |

| ### Public companion functions |
|---|---|
| `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#inconclusive()()` Creates a verdict indicating the Bank App couldn't determine the call's legitimacy. |
| `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#legit()()` Creates a verdict indicating the call is legitimate. |
| `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#notLegit()()` Creates a verdict indicating the call is not legitimate. |

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/android/os/Parcelable.Creator.html<https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict>` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#CREATOR()` |

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#CallVerificationVerdict(kotlin.Int,kotlin.String)( @https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict.VerificationState verificationState: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, errorMessage: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html? )` |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#writeToParcel(android.os.Parcel,kotlin.Int)(dest: https://developer.android.com/reference/android/os/Parcel.html, flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Serializes this object to a `https://developer.android.com/reference/android/os/Parcel.html`. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#verificationState()` The state of the verification. |

## Constants

### LEGIT_CALL

```
const val LEGIT_CALL = 1: Int
```

Indicates the call is confirmed to be legitimate by the Bank App.

### NOT_LEGIT_CALL

```
const val NOT_LEGIT_CALL = 2: Int
```

Indicates the call is confirmed to be not legitimate by the Bank App.

### UNKNOWN

```
const val UNKNOWN = 0: Int
```

Indicates the call verification status is unknown.

### VERDICT_INCONCLUSIVE

```
const val VERDICT_INCONCLUSIVE = 3: Int
```

Indicates the Bank App tried to determine the call's legitimacy, but couldn't definitively determine it.

## Public companion functions

### inconclusive

```
fun inconclusive(): CallVerificationVerdict
```

Creates a verdict indicating the Bank App couldn't determine the call's legitimacy.

### legit

```
fun legit(): CallVerificationVerdict
```

Creates a verdict indicating the call is legitimate.

### notLegit

```
fun notLegit(): CallVerificationVerdict
```

Creates a verdict indicating the call is not legitimate.

## Public companion properties

### CREATOR

```
val CREATOR: Parcelable.Creator<CallVerificationVerdict>
```

## Public constructors

### CallVerificationVerdict

```
CallVerificationVerdict(
    @CallVerificationVerdict.VerificationState verificationState: Int,
    errorMessage: String? = null
)
```

## Public functions

### writeToParcel

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

Serializes this object to a `https://developer.android.com/reference/android/os/Parcel.html`.

| Parameters |
|---|---|
| `dest: https://developer.android.com/reference/android/os/Parcel.html` | The `https://developer.android.com/reference/android/os/Parcel.html` in which the object should be written. |
| `flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | Additional flags about how the object should be written. |

## Public properties

### verificationState

```
val verificationState: Int
```

The state of the verification. This indicates whether the call is considered `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#LEGIT_CALL()`, `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#NOT_LEGIT_CALL()`, or `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict#VERDICT_INCONCLUSIVE()` if the call authenticity could not be determined. Must be one of the constants defined in the `https://developers.google.com/android/reference/kotlin/com/google/android/gms/fraudprotect/CallVerificationVerdict.VerificationState`.