A type that encapsulates the communication limits for your app.
Obtain an `AsyncSequence` to handle communication permission responses after launching your app.
```swift
let responses = CommunicationLimits.current.updates
for await response in responses {
print("Received a communication permission response: \(response)")
}
```
final func knownHandles(in handles: Set<CommunicationHandle>) async -> Set<CommunicationHandle>
Checks which handles in a given set are known to the system.
- Parameter handles: A set of communication handles, such as email addresses,
phone numbers, user names, or any other set of personal identifiers.
- Returns: A subset of the given handles known to the system.
- Note: This method requires that the calling app have a non-nil, nonempty bundle identifier.
final func isKnownHandle(_ handle: CommunicationHandle) async -> Bool
A Boolean that checks if the system knows the given handle.
- Parameter handle: A communication handle. This could be an email, phone number, username, or any other person identifier.
- Returns: Whether or not the given handle is known by the system.
get · iOS 26.0+
current
TypeScript
static get current(): CommunicationLimits
Swift declaration
static let current: CommunicationLimits
The singleton app instance.
get · iOS 26.0+
updates
TypeScript
get updates(): SDKHandle
Swift declaration
final var updates: some AsyncSequence<PermissionResponse<CommunicationTopic>, Never> { get }
Registers the communication topic with the system, so your app can be launched on-demand in the background to receive permission updates.