feat: (for now android only!) method to get current call stats
This commit is contained in:
parent
82c1a3f96c
commit
2c3285a4e9
6 changed files with 382 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import 'package:liblinphone_flutter/models/call_type.dart';
|
|||
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
|
||||
|
||||
import 'liblinphone_flutter_method_channel.dart';
|
||||
import 'models/call_stats.dart';
|
||||
import 'models/dscp_values.dart';
|
||||
|
||||
abstract class LiblinphoneFlutterPlatform extends PlatformInterface {
|
||||
|
|
@ -134,4 +135,8 @@ abstract class LiblinphoneFlutterPlatform extends PlatformInterface {
|
|||
Future<DscpValues> getDscp() async {
|
||||
throw UnimplementedError('getDscp() has not been implemented.');
|
||||
}
|
||||
|
||||
Future<CallStats?> getCurrentCallStats() async {
|
||||
throw UnimplementedError('getCurrentCallStats() has not been implemented.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue