getSpeakerIds method

Future<List<String>> getSpeakerIds()

Enrolled speaker ids, in insertion order.

Implementation

Future<List<String>> getSpeakerIds() async {
  final ids = await _methodChannel.invokeMethod<List<dynamic>>('getSpeakerIds', {
    'instanceId': instanceId,
  });
  return (ids ?? const []).map((e) => e.toString()).toList();
}