Skip to content

Commit d888a13

Browse files
committed
Add isHolding, isOnSpeaker stubs
1 parent a1d10a0 commit d888a13

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/_internal/twilio_voice_web.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,18 @@ class Call extends MethodChannelTwilioCall {
679679
return Future.value(false);
680680
}
681681

682+
/// Not currently implemented for web
683+
@override
684+
Future<bool> isHolding() {
685+
return Future.value(false);
686+
}
687+
688+
/// Not currently implemented for web
689+
@override
690+
Future<bool> isOnSpeaker() {
691+
return Future.value(false);
692+
}
693+
682694
/// Answers an inbound call. Returns true if successful, false otherwise.
683695
/// See [twilio_js.Call.accept]
684696
@override

0 commit comments

Comments
 (0)