VICallFailed typedef

VICallFailed = void Function(VICall call, int code, String description, Map<String, String>? headers)

Signature for callbacks reporting that the call was failed.

Used in VICall.

call - VICall instance initiated the event

code - Error code

description - Error description

headers - Optional SIP headers

Implementation

typedef void VICallFailed(
  VICall call,
  int code,
  String description,
  Map<String, String>? headers,
);