We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea624dd + 5b07be4 commit 58a1e42Copy full SHA for 58a1e42
lib/src/mediadevices.dart
@@ -114,6 +114,12 @@ abstract class MediaDevices {
114
MediaTrackSupportedConstraints getSupportedConstraints() {
115
throw UnimplementedError();
116
}
117
+
118
+ /// A function you provide which accepts as input a Event object describing
119
+ /// the devicechange event that occurred. There is no information about the
120
+ /// change included in the event object; to get the updated list of devices,
121
+ /// you'll have to use enumerateDevices().
122
+ Function(dynamic event)? ondevicechange;
123
124
125
/// This describe the media input and output devices, such as microphones,
0 commit comments