1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
import 'zhiwen_platform_interface.dart';
|
||||
import 'dart:async';
|
||||
|
||||
class Zhiwen {
|
||||
Future<String?> getPlatformVersion() {
|
||||
@@ -37,4 +38,10 @@ class Zhiwen {
|
||||
Future<Map<String, dynamic>> getUserCount() {
|
||||
return ZhiwenPlatform.instance.getUserCount();
|
||||
}
|
||||
|
||||
/// 获取指纹录入进度事件流
|
||||
/// 返回包含 step, totalSteps, progress, message 的 Map
|
||||
Stream<Map<String, dynamic>> get progressStream {
|
||||
return ZhiwenPlatform.instance.progressStream;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user