PermissionHandler class
权限处理器* 应用可能涉及权限:录音
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
hasPermission(
Permission permission) → Future< bool> - 检查权限*
-
requestManageExternalStoragePermission(
) → Future< void> -
requestMicrophonePermission(
) → Future< void> - 请求录音权限(录音时)
-
requestStoragePermission(
) → Future< void> - 请求存储权限