mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
app/permission: update doc to reference app.ViewEvent
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
@@ -40,9 +40,9 @@ Certain permissions on Android are marked with a protection level of
|
|||||||
"dangerous". This means that, in addition to including the relevant
|
"dangerous". This means that, in addition to including the relevant
|
||||||
Gio permission packages, your app will need to prompt the user
|
Gio permission packages, your app will need to prompt the user
|
||||||
specifically to request access. To access the Android Activity
|
specifically to request access. To access the Android Activity
|
||||||
required for prompting, use the Do method on Window. Do exposes
|
required for prompting, use app.ViewEvent (only available on Android).
|
||||||
the underlying Android View, on which the getContext method returns
|
app.ViewEvent exposes the underlying Android View, on which the
|
||||||
the Activity.
|
getContext method returns the Activity.
|
||||||
|
|
||||||
For more information on dangerous permissions, see:
|
For more information on dangerous permissions, see:
|
||||||
https://developer.android.com/guide/topics/permissions/overview#dangerous_permissions
|
https://developer.android.com/guide/topics/permissions/overview#dangerous_permissions
|
||||||
|
|||||||
Reference in New Issue
Block a user