PermissionsUtils class
媒体工具,负责申请权限,选照片,拍照,录音,播放语音
Constructors
- PermissionsUtils()
-
factory
Properties
- delegate ↔ OnPermissionsPluginDelegate?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkDenied(
PermissionStatus status) → bool -
grantedPermissions(
{bool chat = false, int index = -1}) → Future< bool?> -
initPermissionsUtil(
OnPermissionsPluginDelegate delegate) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermissions(
{bool chat = true, bool show = true, int index = -1}) → Future< bool> -
requestPermissionsNotification(
) → void -
showDenied(
bool chat, int index) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → PermissionsUtils
-
no setter