1
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
|
||||
import 'dart:async';
|
||||
|
||||
import 'zhiwen_method_channel.dart';
|
||||
|
||||
@@ -24,6 +25,11 @@ abstract class ZhiwenPlatform extends PlatformInterface {
|
||||
Future<Map<String, dynamic>> deleteOneFingerprint(int userId);
|
||||
Future<Map<String, dynamic>> identifyFingerprint();
|
||||
Future<Map<String, dynamic>> getUserCount();
|
||||
|
||||
/// 获取指纹录入进度事件流
|
||||
/// 返回包含 step, totalSteps, progress, message 的 Map
|
||||
Stream<Map<String, dynamic>> get progressStream;
|
||||
|
||||
/// Platform-specific implementations should set this with their own
|
||||
/// platform-specific class that extends [ZhiwenPlatform] when
|
||||
/// they register themselves.
|
||||
|
||||
Reference in New Issue
Block a user