Table of Contents

Interface IOptionalBuilderForFallbackWorkflow

Namespace
Vonage.VerifyV2.StartVerification
Assembly
Vonage.dll

Builder interface for adding fallback workflows to a verification request.

public interface IOptionalBuilderForFallbackWorkflow

Methods

WithFallbackWorkflow<T>(Result<T>)

Adds a fallback workflow to try if previous workflows fail or time out. Up to 3 total workflows are supported.

IOptionalBuilder WithFallbackWorkflow<T>(Result<T> value) where T : IVerificationWorkflow

Parameters

value Result<T>

The fallback workflow (e.g., VoiceWorkflow).

Returns

IOptionalBuilder

The builder for method chaining.

Type Parameters

T

The workflow type implementing IVerificationWorkflow.

Examples

.WithFallbackWorkflow(VoiceWorkflow.Parse("447700900000"))