Skip to content

Commit fc7084c

Browse files
committed
feat: add enableCallLogging platform & method stub
1 parent 0e64741 commit fc7084c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

lib/_internal/method_channel/twilio_voice_method_channel.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,12 @@ class MethodChannelTwilioVoice extends TwilioVoicePlatform {
442442
// TODO: implement updateSounds
443443
throw UnimplementedError();
444444
}
445+
446+
@override
447+
Future<void> enableCallLogging({bool enable = true}) {
448+
// TODO: implement enableCallLogging
449+
throw UnimplementedError();
450+
}
445451
}
446452

447453
ActiveCall createCallFromState(String state, {CallDirection? callDirection, bool initiated = false}) {

lib/_internal/platform_interface/twilio_voice_platform_interface.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,9 @@ abstract class TwilioVoicePlatform extends SharedPlatformInterface {
197197

198198
/// Sends call events
199199
CallEvent parseCallEvent(String state);
200+
201+
/// Enable or disable call logging in call manager, or phone app recents.
202+
///
203+
/// Defaults to true.
204+
Future<void> enableCallLogging({bool enable = true});
200205
}

0 commit comments

Comments
 (0)