class PermissionCommands


Summary

Public functions

Unit
grant(vararg permissions: String)

Grants the given permissions from the app.

Unit
revoke(vararg permissions: String)

Revokes the given permissions from the app.

Public functions

grant

Added in 1.0.0-alpha01
fun grant(vararg permissions: String): Unit

Grants the given permissions from the app.

Parameters
vararg permissions: String

one of more permissions from android.Manifest.permission.

revoke

Added in 1.0.0-alpha01
fun revoke(vararg permissions: String): Unit

Revokes the given permissions from the app.

Parameters
vararg permissions: String

one of more permissions from android.Manifest.permission.