33 references to Granted
Microsoft.Maui.Essentials (33)
Permissions\Permissions.ios.cs (14)
22
AVAuthorizationStatus.Authorized => PermissionStatus.
Granted
,
34
return auth ? PermissionStatus.
Granted
: PermissionStatus.Denied;
65
if (status == PermissionStatus.
Granted
)
94
if (status == PermissionStatus.
Granted
)
107
global::Contacts.CNAuthorizationStatus.Authorized => PermissionStatus.
Granted
,
122
return result.Item1 ? PermissionStatus.
Granted
: PermissionStatus.Denied;
146
if (status == PermissionStatus.
Granted
)
175
if (status == PermissionStatus.
Granted
)
188
MPMediaLibraryAuthorizationStatus.Authorized => PermissionStatus.
Granted
,
204
tcs.TrySetResult(PermissionStatus.
Granted
);
242
if (status == PermissionStatus.
Granted
)
271
if (status == PermissionStatus.
Granted
)
285
SFSpeechRecognizerAuthorizationStatus.Authorized => PermissionStatus.
Granted
,
301
tcs.TrySetResult(PermissionStatus.
Granted
);
Permissions\Permissions.ios.tvos.macos.cs (3)
35
if (status == PermissionStatus.
Granted
)
76
if (status == PermissionStatus.
Granted
)
98
PHAuthorizationStatus.Authorized => PermissionStatus.
Granted
,
Permissions\Permissions.ios.tvos.watchos.cs (5)
38
Task.FromResult(PermissionStatus.
Granted
);
42
Task.FromResult(PermissionStatus.
Granted
);
135
if (status == PermissionStatus.
Granted
|| status == PermissionStatus.Disabled)
160
CLAuthorizationStatus.AuthorizedAlways => PermissionStatus.
Granted
,
161
CLAuthorizationStatus.AuthorizedWhenInUse => whenInUse ? PermissionStatus.
Granted
: PermissionStatus.Denied,
Permissions\Permissions.ios.watchos.cs (9)
20
EKAuthorizationStatus.Authorized => PermissionStatus.
Granted
,
45
return results.Item1 ? PermissionStatus.
Granted
: PermissionStatus.Denied;
81
if (status == PermissionStatus.
Granted
)
120
if (status == PermissionStatus.
Granted
)
159
if (status == PermissionStatus.
Granted
)
186
if (status == PermissionStatus.
Granted
)
206
return PermissionStatus.
Granted
;
228
return PermissionStatus.
Granted
;
264
if (status == PermissionStatus.
Granted
)
Permissions\Permissions.shared.cs (2)
57
if (status != PermissionStatus.
Granted
)
66
if (status != PermissionStatus.
Granted
&& status != PermissionStatus.Restricted)