2026-07-25 12:39:32 +02:00
|
|
|
/// The user's answer to a permission request (microphone, network).
|
|
|
|
|
public enum AccessReply: UInt32, Sendable {
|
2026-07-25 12:55:53 +02:00
|
|
|
/// The user has not answered yet; the request's completion delivers
|
|
|
|
|
/// the answer later.
|
2026-07-25 12:39:32 +02:00
|
|
|
case ask = 0
|
2026-07-25 12:55:53 +02:00
|
|
|
/// The user has already denied access; the completion is not called.
|
2026-07-25 12:39:32 +02:00
|
|
|
case deny = 1
|
2026-07-25 12:55:53 +02:00
|
|
|
/// The user has already granted access; the completion is not called.
|
2026-07-25 12:39:32 +02:00
|
|
|
case allow = 2
|
|
|
|
|
}
|