feat: add sendDtmf method to send DTMF tones during a call
This commit is contained in:
parent
b95baa6799
commit
f64284f963
9 changed files with 84 additions and 1 deletions
|
|
@ -89,4 +89,11 @@ class MethodChannelLiblinphoneFlutter extends LiblinphoneFlutterPlatform {
|
|||
Future<bool> syncCurrentState() async {
|
||||
return (await methodChannel.invokeMethod<bool>('syncCurrentState'))!;
|
||||
}
|
||||
|
||||
@override
|
||||
Future<bool> sendDtmf(String tone) async {
|
||||
return (await methodChannel.invokeMethod<bool>('sendDtmf', <String, dynamic>{
|
||||
'tone': tone,
|
||||
}))!;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue