feat: DTMF dialpad

This commit is contained in:
Florian Griffon 2025-05-07 23:35:47 +03:00
parent 6b3bac08e5
commit bec5f5b5d2

View File

@ -217,6 +217,15 @@ class MainActivity : FlutterActivity() {
checkAndRequestDefaultDialer()
result.success(true)
}
"sendDtmfTone" -> {
val digit = call.argument<String>("digit")
if (digit != null) {
val success = MyInCallService.sendDtmfTone(digit)
result.success(success)
} else {
result.error("INVALID_ARGUMENT", "Digit is null", null)
}
}
else -> result.notImplemented()
}
}