request


Description:

public async PermissionResponse request (string question, bool one_time = false)

Requests permission from the user with the given question.

Shows the widget, waits for user response, then hides the widget.

Parameters:

question

The permission question to display

one_time

Whether to show only one-time buttons (Allow/Deny only)

Returns:

The user's permission response

Since:

1.0