VapiClientInterface class abstract interface

Abstract interface defining the contract for Vapi client implementations.

This interface ensures consistent behavior across different platforms (mobile, web, desktop) while allowing platform-specific optimizations.

All platform-specific implementations must conform to this interface, guaranteeing a unified API experience for developers.

Implementers

Properties

apiBaseUrl String
The base URL for the Vapi API.
no setter
hashCode int
The hash code for this object.
no setterinherited
publicKey String
The public API key used for authentication with Vapi services.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases any resources held by this client.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start({String? assistantId, Map<String, dynamic>? assistant, Map<String, dynamic> assistantOverrides = const {}, Duration clientCreationTimeoutDuration = const Duration(seconds: 10), bool waitUntilActive = false}) Future<VapiCall>
Starts a voice AI call with the specified configuration.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited