feat: (for now android only!) method to get current call stats
This commit is contained in:
parent
82c1a3f96c
commit
94cbe1a2c5
6 changed files with 382 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import 'package:flutter/services.dart' show EventChannel;
|
||||
|
||||
import 'liblinphone_flutter_platform_interface.dart';
|
||||
import 'models/call_stats.dart';
|
||||
import 'models/call_type.dart';
|
||||
import 'models/dscp_values.dart';
|
||||
import 'models/registration_state.dart';
|
||||
|
|
@ -113,4 +114,7 @@ class LiblinphoneFlutter {
|
|||
|
||||
Future<DscpValues> getDscp() async =>
|
||||
LiblinphoneFlutterPlatform.instance.getDscp();
|
||||
|
||||
Future<CallStats?> getCurrentCallStats() async =>
|
||||
LiblinphoneFlutterPlatform.instance.getCurrentCallStats();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue