Interface IBuilderForWorkflow
- Namespace
- Vonage.VerifyV2.StartVerification
- Assembly
- Vonage.dll
Builder interface for setting the primary workflow on a verification request. This is required after setting the brand.
public interface IBuilderForWorkflow
Methods
WithWorkflow<T>(Result<T>)
Sets the primary verification workflow for delivering the PIN code.
IOptionalBuilder WithWorkflow<T>(Result<T> value) where T : IVerificationWorkflow
Parameters
valueResult<T>The workflow to use (e.g., SmsWorkflow, VoiceWorkflow).
Returns
- IOptionalBuilder
The builder for setting optional parameters or creating the request.
Type Parameters
TThe workflow type implementing IVerificationWorkflow.
Examples
.WithWorkflow(SmsWorkflow.Parse("447700900000"))