grantPermissions(permissions: [CAMERA, MICROPHONE])
Returns true if permissions were successfully granted.
Definition
Arguments
permissions
[Permission]!
An array of permissions to grant. See the Permission enum for available values.
options
GrantPermissionsOptions
Options for granting permissions, such as specifying the origin.
Returns
Boolean! TheBoolean
scalar type represents true
or false
.