reject method

Future<bool> reject({
  1. String customData = '',
})

To reject the current call invitation, you can use the customData parameter if you need to provide a reason for the rejection to the other party.

Additionally, the inviting party can receive notifications of the rejection by listening to onOutgoingCallRejectedCauseBusy or onOutgoingCallDeclined when the other party declines the call invitation.

Implementation

Future<bool> reject({
  String customData = '',
}) async {
  return _invitation.reject(customData: customData);
}