GPermissionClass.acquire

struct GPermissionClass
extern (C)
int function(GPermission* permission, GCancellable* cancellable, GError** err) acquire;

Return Value

TRUE if the permission was successfully acquired

Throws

GException on failure.