SwiftclassFindMyLocate
class FindMyLocate.Session
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 157
- func
static sharedSession(origin: FindMyLocate.ClientOrigin) -> FindMyLocate.Session - func
static sharedSession(FindMyLocate.RequestOrigin) -> FindMyLocate.Session - func
static trustedNow() -> Foundation.Date - var
static var fmfIsAllowedInRegion: Bool { get } - var
static var fmfIsRestrictedInScreenTime: Bool { get } - var
static var fmfIsRestrictedOnDevice: Bool { get } - var
static var hasCorrectPermissionsForLocationSharing: Bool { get } - var
static var isiCloudProvisionedForLocationSharing: Bool { get } - deinit
deinit - field
let _daemonReadyTaskMutex: Synchronization.Mutex<Task<(), Error>?> - field
let _fenceConnection: FindMyLocate.Session.FenceConnection - field
let _friendshipConnection: FindMyLocate.Session.FriendshipConnection - field
let _locationConnection: FindMyLocate.Session.LocationConnection - field
let _settingsConnection: FindMyLocate.Session.SettingsConnection - field
let origin: FindMyLocate.RequestOrigin - field
let startupTaskMutex: Synchronization.Mutex<Task<(), Never>?> - func
acceptFence(id: FindMyLocate.Fence.ID) async throws -> FindMyLocate.Fence - func
activeLocationSharingDevice(cached: Bool) async throws -> FindMyLocate.Device - func
addFence(FindMyLocate.Fence) async throws -> FindMyLocate.Fence - func
addHandlesToLocationStream(_: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Bool, clientID: FindMyLocate.ClientID) async throws -> () - func
addHandlesToLocationStream(_: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Bool) async throws -> () - func
addHandlesToLocationStream(_: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws -> () - func
allFriends() async throws -> FindMyLocate.FriendContainer - func
allPeople() async throws -> [FindMyLocate.UnifiedPerson] - func
allPeopleWithUpdateStream() async throws -> ([FindMyLocate.UnifiedPerson], AsyncStream<[FindMyLocate.FindMyID : FindMyLocate.PersonChangeEvent]>) - func
allowFriendshipRequests(allowed: Bool) async throws -> () - func
approveFriendship(handles: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Bool) async throws -> FindMyLocate.FriendshipRequestResult - func
areFriendshipRequestsAllowed(cached: Bool) async throws -> Bool - func
cachedFriendsFollowingMyLocation() async -> [FindMyLocate.Friend] - func
cachedFriendsRequestedMyLocation() async -> [FindMyLocate.Friend] - func
cachedFriendsRequestedToShareLocationWithMe() async -> [FindMyLocate.Friend] - func
cachedFriendsSharingLocationsWithMe() async -> [FindMyLocate.Friend] - func
cachedFriendsWithPendingOffers() async -> [FindMyLocate.Friend] - func
cachedLocation(for: [FindMyLocate.Handle], includeAddress: Bool) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
cachedLocation(for: [FindMyLocate.Handle]) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
cachedOfferExpiration(for: FindMyLocate.Handle, groupId: String?) async -> Foundation.Date? - func
clearCachedConfig() async throws -> () - func
clientConfiguration() async throws -> FindMyLocate.ClientConfiguration - func
currentStewieState() async throws -> FindMyLocate.SecureLocationsStewie.ServiceState - func
declineFriendship(handles: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Bool) async throws -> FindMyLocate.FriendshipRequestResult - func
decryptNotification(encryptedPayload: String) async throws -> FindMyLocate.DecodedLocationNotification - func
deleteFence(id: FindMyLocate.Fence.ID) async throws -> () - func
deleteFences(ids: [FindMyLocate.Fence.ID]) async throws -> () - func
dismissStewieNotifications() async throws -> () - func
emulateShowSaveMeAlertCommand() async throws -> () - func
ensureEntitlement(FindMyLocate.ServiceEntitlements) -> () - func
favorite(findMyID: FindMyLocate.FindMyID) async throws -> () - func
fenceUpdateStream() async -> FindMyLocate.Fence.UpdateStream - func
fences() async throws -> [FindMyLocate.Fence] - func
fetchConfig() async throws -> Foundation.Data - func
forceRefreshClient() async throws -> () - func
forceRefreshLocation(for: [FindMyLocate.Handle], clientID: FindMyLocate.ClientID) async throws -> () - func
friendsFollowingMyLocation() async throws -> [FindMyLocate.Friend] - func
friendsRequestedMyLocation() async throws -> [FindMyLocate.Friend] - func
friendsRequestedToShareLocationWithMe() async throws -> [FindMyLocate.Friend] - func
friendsSharingLocationsWithMe(filter: @Sendable (FindMyLocate.Friend) -> Bool) async throws -> [FindMyLocate.Friend] - func
friendsSharingLocationsWithMe() async throws -> [FindMyLocate.Friend] - func
friendsWithPendingOffers() async throws -> [FindMyLocate.Friend] - func
friendshipState(for: FindMyLocate.Handle, isFromGroup: Bool?) async throws -> FindMyLocate.FriendshipState - func
friendshipState(with: FindMyLocate.Handle, isFromGroup: Bool?) async throws -> FindMyLocate.FriendshipState - func
getAllDevices(cached: Bool) async throws -> [FindMyLocate.Device] - func
getCachedLocations() async throws -> Foundation.Data - func
getPublishSettings() async throws -> Foundation.Data - func
getSharedKeys() async throws -> Foundation.Data - func
getSharingKey() async throws -> Foundation.Data - func
handlesRecentlyStartedSharing(recency: Duration) async throws -> [FindMyLocate.Friend] - func
handlesRecentlyViewed(recency: Duration) async throws -> [FindMyLocate.Friend] - func
hideMyLocation(hidden: Bool) async throws -> () - func
iCloudAccountName() async -> String? - func
includeDeviceInHomeKitAutomations() async throws -> Bool - func
isMyLocationEnabled(cached: Bool) async throws -> Bool - func
labelStream(receiveInitialSnapshot: Bool) async throws -> some Swift.AsyncSequence<[FindMyLocate.LocationLabel], Never> - func
labels() async throws -> [FindMyLocate.LocationLabel] - func
latestLocations(for: [FindMyLocate.Handle], includeAddress: Bool, clientID: FindMyLocate.ClientID) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
latestLocations(for: [FindMyLocate.Handle], includeAddress: Bool) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
locationSharingCapableDevices() async throws -> FindMyLocate.LocationSharingCapableDevices - func
locationSharingCapableDevicesStream() async throws -> some Swift.AsyncSequence<FindMyLocate.LocationSharingCapableDevices, Never> - func
locationStream(handles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Bool) async -> AsyncStream<FindMyLocate.LocationStreamChange> - func
locations(for: [FindMyLocate.Handle], reverseGeocode: Bool) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
locations(for: [FindMyLocate.Handle]) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
locationsForHandles([FindMyLocate.Handle : FindMyLocate.Location]) async throws -> () - func
locationsUnavailable(for: [FindMyLocate.Handle]) async throws -> () - func
muteFences(for: FindMyLocate.PersonHandle, untilDate: Foundation.Date) async throws -> () - func
offerExpiration(for: FindMyLocate.Handle, fromHandle: FindMyLocate.Handle) async throws -> Foundation.Date? - func
offerExpiration(for: FindMyLocate.Handle, groupId: String?) async throws -> Foundation.Date? - func
ownerToken() async throws -> NIDiscoveryToken? - func
pauseSharingLocation(for: FindMyLocate.FindMyID, duration: FindMyLocate.PauseDuration) async throws -> () - func
peerToken(peer: FindMyLocate.Handle) async throws -> NIDiscoveryToken? - func
peopleUpdateStream() async throws -> AsyncStream<[FindMyLocate.FindMyID : FindMyLocate.PersonChangeEvent]> - func
performKeyRoll() async throws -> () - func
prettyName(for: FindMyLocate.Handle) async throws -> String? - func
processIDSServiceMessage(Foundation.Data) async throws -> Foundation.Data - func
processLocationCommandPayload(Foundation.Data) async throws -> () - func
processLocationPayload(Foundation.Data) async throws -> () - func
publishCurrentLocationToStewie() async throws -> FindMyLocate.SecureLocationsStewie.PublishResult - func
publishLocation(Foundation.Data) async throws -> () - func
recordId(for: FindMyLocate.Handle) async throws -> String? - func
redonatePersonEntities() async throws -> () - func
refreshLocation(for: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, clientID: FindMyLocate.ClientID) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
removeFriend(findMyID: FindMyLocate.FindMyID) async throws -> () - func
removePeerToken(for: FindMyLocate.Handle) async throws -> () - func
renewSubscription(priority: FindMyLocate.LocatePriority, handles: [FindMyLocate.PersonHandle]) async throws -> () - func
requestOwnerToken(force: Bool) async throws -> () - func
resetTokenDatabase() async throws -> () - func
resolveLocation(_: FindMyLocate.Location, for: FindMyLocate.RequestSubject) async throws -> FindMyLocate.Location - func
respondToInviteRequest(FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult - func
resumeSharingLocation(for: FindMyLocate.FindMyID) async throws -> () - func
saveFence(FindMyLocate.Fence) async throws -> FindMyLocate.Fence - func
sendFriendshipInvite(to: FindMyLocate.Handle, from: FindMyLocate.Handle?, isFromGroup: Bool) async throws -> FindMyLocate.FriendshipRequestResult - func
sendFriendshipInvite(FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult - func
sendFriendshipOffer(to: [FindMyLocate.Handle], from: FindMyLocate.Handle?, end: FindMyLocate.FriendshipExpiration, isFromGroup: Bool) async throws -> FindMyLocate.FriendshipRequestResult - func
sendFriendshipOffer(to: [FindMyLocate.Handle], from: FindMyLocate.Handle?, with: Duration, isFromGroup: Bool) async throws -> FindMyLocate.FriendshipRequestResult - func
sendFriendshipOffer(FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult - func
sendNotNow(to: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Bool) async throws -> FindMyLocate.FriendshipRequestResult - func
setActiveLocationSharingDevice(String) async throws -> () - func
setShareMyLocationState(FindMyLocate.LocationSharingState) async throws -> () - func
shareMyLocationState() async throws -> FindMyLocate.LocationSharingState - func
shareMyLocationStateStream() async throws -> some Swift.AsyncSequence<FindMyLocate.LocationSharingState, Never> - func
showMeDeviceAlert() throws -> () - func
showShareMyLocationRestrictedAlert() throws -> () - func
showShareMyLocationiCloudSettingsOffAlert() throws -> () - func
startMonitoringActiveLocationSharingDeviceChange() async throws -> AsyncStream<FindMyLocate.DeviceStreamChange> - func
startMonitoringPreferencesChange() async throws -> AsyncStream<FindMyLocate.PreferenceStreamChange> - func
startMonitoringStewieState() async throws -> AsyncStream<FindMyLocate.SecureLocationsStewie.ServiceState> - func
startOwnerRanging() async throws -> AsyncStream<FindMyLocate.RangingStreamChange> - func
startRanging(to: FindMyLocate.Handle) async throws -> AsyncStream<FindMyLocate.RangingStreamChange> - func
startRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Bool, clientID: FindMyLocate.ClientID) async throws -> () - func
startRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Bool) async throws -> AsyncStream<FindMyLocate.LocationStreamChange> - func
startRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws -> AsyncStream<FindMyLocate.LocationStreamChange> - func
startRefreshingLocation(_: FindMyLocate.LocationRequest, clientID: FindMyLocate.ClientID) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
startRefreshingLocation(FindMyLocate.LocationRequest) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] - func
startUpdatingFriends(receiveInitialUpdates: Bool) async throws -> AsyncStream<FindMyLocate.FriendStreamChange> - func
stewiePublishResult() async throws -> FindMyLocate.SecureLocationsStewie.PublishResult - func
stewieServiceStateChanged(FindMyLocate.SecureLocationsStewie.ServiceState) async -> () - func
stopConfigRangingSession() async throws -> () - func
stopMonitoringStewieState() async throws -> () - func
stopRanging() async throws -> () - func
stopRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, clientID: FindMyLocate.ClientID) async throws -> () - func
stopRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws -> () - func
stopRefreshingLocation(for: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, clientID: FindMyLocate.ClientID) async throws -> () - func
stopRefreshingLocation(for: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws -> () - func
stopRefreshingLocation(clientID: FindMyLocate.ClientID) async throws -> () - func
stopRefreshingLocation() async throws -> () - func
stopSharingMyLocation(with: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Bool) async throws -> FindMyLocate.FriendshipRequestResult - func
stopSharingMyLocation(FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult - func
stopUpdatingFriends() async throws -> () - func
subscribeToBackgroundProactiveLocations(clientID: FindMyLocate.ClientID) async throws -> () - func
subscribeToBackgroundProactiveLocations() async throws -> () - func
thisDeviceWithCompanion() async throws -> FindMyLocate.DeviceWithCompanion - func
triggerFence(id: FindMyLocate.Fence.ID, position: FindMyLocate.Fence.TriggerPosition) async throws -> FindMyLocate.Fence.TriggerID? - func
triggerStewieProactiveNotification() async throws -> () - func
unfavorite(findMyID: FindMyLocate.FindMyID) async throws -> () - func
unmuteFences(for: FindMyLocate.PersonHandle) async throws -> () - func
update(labels: [FindMyLocate.LocationLabel]) async throws -> () - func
updateFence(FindMyLocate.Fence) async throws -> FindMyLocate.Fence - init
FindMyLocate.Session.__allocating_init(FindMyLocate.RequestOrigin) async -> FindMyLocate.Session - init
FindMyLocate.Session.__allocating_init(FindMyLocate.RequestOrigin) -> FindMyLocate.Session
Header
class Session { actor FenceConnection { class Trampoline: __C.NSObject, FindMyLocate.FenceServiceClientXPC { weak let target: FindMyLocate.Session.FenceConnection? } enum Failure { case unrecognizedResponse(FindMyLocate.FenceResponse) case trampolineDeallocated } var serviceDescription: FindMyBase.XPCServiceDescription? var disconnectionHandler: (@Sendable () async -> ())? weak var owningSession: FindMyLocate.Session? var session: FindMyBase.FM.XPCSession<any FindMyLocate.FenceServiceDaemonXPC>? let fenceStreamManager: FindMyLocate.FenceStreamManager } actor FriendshipConnection { struct PeopleState { var index: FindMyLocate.PeopleIndex? var loadTask: Swift.Task<(), any Swift.Error>? let broadcaster: FindMyLocate.StreamBroadcaster<[FindMyLocate.FindMyID : FindMyLocate.PersonChangeEvent]> var queuedUpdates: [[FindMyLocate.Friend : FindMyLocate.FriendshipAction]] } actor Trampoline<A>: __C.SwiftNativeNSObject, FindMyLocate.FriendshipServiceClientXPC where A: FindMyLocate.FriendshipServiceClientProtocol { weak var target: A? } var serviceDescription: FindMyBase.XPCServiceDescription? var session: FindMyBase.FM.XPCSession<any FindMyLocate.FriendshipXPCService>? var disconnectionHandler: (@Sendable () async -> ())? var friendshipContinuation: Swift.AsyncStream<FindMyLocate.FriendStreamChange>.Continuation? var rangingContinuation: Swift.AsyncStream<FindMyLocate.RangingStreamChange>.Continuation? var isSyncingContact: Swift.Bool var syncContinuations: [Swift.CheckedContinuation<(), Swift.Never>] lazy var sharedContactStore: __C.CNContactStore? weak var owningSession: FindMyLocate.Session? var _friendsWithPrettyName: [FindMyLocate.Friend]? var internalFollowingContinuation: Swift.AsyncStream<FindMyLocate.FriendStreamChange>.Continuation? var followers: [FindMyLocate.Friend] var followings: [FindMyLocate.Friend] var futureFollowers: [FindMyLocate.Friend] var futureFollowings: [FindMyLocate.Friend] var pendingOffers: [FindMyLocate.Friend] var peopleState: FindMyLocate.Session.FriendshipConnection.PeopleState } actor LocationConnection { actor Trampoline<A>: __C.SwiftNativeNSObject, FindMyLocate.LocationServiceClientXPC where A: FindMyLocate.LocationServiceClientProtocol { weak var target: A? } var serviceDescription: FindMyBase.XPCServiceDescription? var session: FindMyBase.FM.XPCSession<any FindMyLocate.LocationXPCService>? var disconnectionHandler: (@Sendable () async -> ())? var locationContinuation: Swift.AsyncStream<FindMyLocate.LocationStreamChange>.Continuation? let labelBroadcaster: FindMyLocate.StreamBroadcaster<[FindMyLocate.LocationLabel]> var handlesNeedingReverseGeocoding: Swift.Set<FindMyLocate.Handle> lazy var locationShifter: FindMyLocate.LocationShifter? let reverseGeocoder: FindMyLocate.ReverseGeocoder var handlesForLocationRefreshing: [FindMyLocate.LocatePriority : Swift.Set<FindMyLocate.Handle>] var locationForHandles: [FindMyLocate.Handle : FindMyLocate.Location] let locationRefreshWorkQueue: FindMyBase.WorkItemQueue let internalLocationSerializationQueue: FindMyBase.WorkItemQueue let origin: FindMyLocate.RequestOrigin weak var owningSession: FindMyLocate.Session? var stewieStateUpdateContinuation: Swift.AsyncStream<FindMyLocate.SecureLocationsStewie.ServiceState>.Continuation? } actor SettingsConnection { actor Trampoline<A>: __C.SwiftNativeNSObject, FindMyLocate.SettingsServiceClientXPC where A: FindMyLocate.SettingsServiceClientProtocol { weak var target: A? let workItemQueue: FindMyBase.WorkItemQueue } weak var target: (any FindMyLocate.SettingsServiceClientProtocol)? var serviceDescription: FindMyBase.XPCServiceDescription? var session: FindMyBase.FM.XPCSession<any FindMyLocate.SettingsXPCService>? var disconnectionHandler: (@Sendable () async -> ())? var meDevice: FindMyLocate.Device? var meDeviceContinuation: Swift.AsyncStream<FindMyLocate.DeviceStreamChange>.Continuation? var preferenceContinuation: Swift.AsyncStream<FindMyLocate.PreferenceStreamChange>.Continuation? weak var owningSession: FindMyLocate.Session? } struct WeakSessionBox { weak var value: FindMyLocate.Session? } enum FenceError { case unrecognizedAcceptanceStatus(FindMyLocate.Fence.AcceptanceStatus) case unrecognizedParticipant(FindMyLocate.Fence.Participant) case unrecognizedTriggerPosition(FindMyLocate.Fence.TriggerPosition) case unrecognizedVariant(FindMyLocate.Fence.Variant) case missing case muted case awaitingApproval case triggeringPendingHiddenOneTimeFence } let startupTaskMutex: Synchronization.Mutex<Swift.Task<(), Swift.Never>?> let _fenceConnection: FindMyLocate.Session.FenceConnection let _friendshipConnection: FindMyLocate.Session.FriendshipConnection let _settingsConnection: FindMyLocate.Session.SettingsConnection let _locationConnection: FindMyLocate.Session.LocationConnection let _daemonReadyTaskMutex: Synchronization.Mutex<Swift.Task<(), any Swift.Error>?> let origin: FindMyLocate.RequestOrigin init(_: FindMyLocate.RequestOrigin) init(_: FindMyLocate.RequestOrigin) async final func stopSharingMyLocation(with: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Swift.Bool) async throws -> FindMyLocate.FriendshipRequestResult final func stopSharingMyLocation(_: FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult final func friendsFollowingMyLocation() async throws -> [FindMyLocate.Friend] final func friendsRequestedMyLocation() async throws -> [FindMyLocate.Friend] final func stopConfigRangingSession() async throws final func cachedFriendsFollowingMyLocation() async -> [FindMyLocate.Friend] final func cachedFriendsRequestedMyLocation() async -> [FindMyLocate.Friend] final func isMyLocationEnabled(cached: Swift.Bool) async throws -> Swift.Bool final func hideMyLocation(hidden: Swift.Bool) async throws final func shareMyLocationState() async throws -> FindMyLocate.LocationSharingState final func shareMyLocationStateStream() async throws -> some Swift.AsyncSequence<FindMyLocate.LocationSharingState, Swift.Never> final func setShareMyLocationState(_: FindMyLocate.LocationSharingState) async throws final func showShareMyLocationRestrictedAlert() throws final func showShareMyLocationiCloudSettingsOffAlert() throws final func allFriends() async throws -> FindMyLocate.FriendContainer final func muteFences(for: FindMyLocate.PersonHandle, untilDate: Foundation.Date) async throws final func ownerToken() async throws -> __C.NIDiscoveryToken? final func prettyName(for: FindMyLocate.Handle) async throws -> Swift.String? final func sendNotNow(to: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Swift.Bool) async throws -> FindMyLocate.FriendshipRequestResult final func unfavorite(findMyID: FindMyLocate.FindMyID) async throws final func acceptFence(id: FindMyLocate.Fence.ID) async throws -> FindMyLocate.Fence final func deleteFence(id: FindMyLocate.Fence.ID) async throws final func fetchConfig() async throws -> Foundation.Data final func labelStream(receiveInitialSnapshot: Swift.Bool) async throws -> some Swift.AsyncSequence<[FindMyLocate.LocationLabel], Swift.Never> final func stopRanging() async throws final func updateFence(_: FindMyLocate.Fence) async throws -> FindMyLocate.Fence final func deleteFences(ids: [FindMyLocate.Fence.ID]) async throws final func removeFriend(findMyID: FindMyLocate.FindMyID) async throws final func startRanging(to: FindMyLocate.Handle) async throws -> Swift.AsyncStream<FindMyLocate.RangingStreamChange> final func triggerFence(id: FindMyLocate.Fence.ID, position: FindMyLocate.Fence.TriggerPosition) async throws -> FindMyLocate.Fence.TriggerID? final func unmuteFences(for: FindMyLocate.PersonHandle) async throws final func getAllDevices(cached: Swift.Bool) async throws -> [FindMyLocate.Device] final func getSharedKeys() async throws -> Foundation.Data final func getSharingKey() async throws -> Foundation.Data final func cachedLocation(for: [FindMyLocate.Handle], includeAddress: Swift.Bool) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func cachedLocation(for: [FindMyLocate.Handle]) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func locationStream(handles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Swift.Bool) async -> Swift.AsyncStream<FindMyLocate.LocationStreamChange> final func performKeyRoll() async throws final func friendshipState(for: FindMyLocate.Handle, isFromGroup: Swift.Bool?) async throws -> FindMyLocate.FriendshipState final func friendshipState(with: FindMyLocate.Handle, isFromGroup: Swift.Bool?) async throws -> FindMyLocate.FriendshipState final func latestLocations(for: [FindMyLocate.Handle], includeAddress: Swift.Bool, clientID: FindMyLocate.ClientID) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func latestLocations(for: [FindMyLocate.Handle], includeAddress: Swift.Bool) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func offerExpiration(for: FindMyLocate.Handle, fromHandle: FindMyLocate.Handle) async throws -> Foundation.Date? final func offerExpiration(for: FindMyLocate.Handle, groupId: Swift.String?) async throws -> Foundation.Date? final func publishLocation(_: Foundation.Data) async throws final func refreshLocation(for: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, clientID: FindMyLocate.ClientID) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func removePeerToken(for: FindMyLocate.Handle) async throws final func resolveLocation(_: FindMyLocate.Location, for: FindMyLocate.RequestSubject) async throws -> FindMyLocate.Location final func approveFriendship(handles: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Swift.Bool) async throws -> FindMyLocate.FriendshipRequestResult final func clearCachedConfig() async throws final func declineFriendship(handles: [FindMyLocate.Handle], from: FindMyLocate.Handle?, isFromGroup: Swift.Bool) async throws -> FindMyLocate.FriendshipRequestResult final func ensureEntitlement(_: FindMyLocate.ServiceEntitlements) final func fenceUpdateStream() async -> FindMyLocate.Fence.UpdateStream final func iCloudAccountName() async -> Swift.String? final func renewSubscription(priority: FindMyLocate.LocatePriority, handles: [FindMyLocate.PersonHandle]) async throws final func requestOwnerToken(force: Swift.Bool) async throws final func showMeDeviceAlert() throws final func startOwnerRanging() async throws -> Swift.AsyncStream<FindMyLocate.RangingStreamChange> final func currentStewieState() async throws -> FindMyLocate.SecureLocationsStewie.ServiceState final func forceRefreshClient() async throws final func getCachedLocations() async throws -> Foundation.Data final func getPublishSettings() async throws -> Foundation.Data final func peopleUpdateStream() async throws -> Swift.AsyncStream<[FindMyLocate.FindMyID : FindMyLocate.PersonChangeEvent]> final func resetTokenDatabase() async throws final func clientConfiguration() async throws -> FindMyLocate.ClientConfiguration final func decryptNotification(encryptedPayload: Swift.String) async throws -> FindMyLocate.DecodedLocationNotification final func locationsForHandles(_: [FindMyLocate.Handle : FindMyLocate.Location]) async throws final func sendFriendshipOffer(to: [FindMyLocate.Handle], from: FindMyLocate.Handle?, end: FindMyLocate.FriendshipExpiration, isFromGroup: Swift.Bool) async throws -> FindMyLocate.FriendshipRequestResult final func sendFriendshipOffer(to: [FindMyLocate.Handle], from: FindMyLocate.Handle?, with: Swift.Duration, isFromGroup: Swift.Bool) async throws -> FindMyLocate.FriendshipRequestResult final func sendFriendshipOffer(_: FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult final func stewiePublishResult() async throws -> FindMyLocate.SecureLocationsStewie.PublishResult final func stopUpdatingFriends() async throws final func forceRefreshLocation(for: [FindMyLocate.Handle], clientID: FindMyLocate.ClientID) async throws final func locationsUnavailable(for: [FindMyLocate.Handle]) async throws final func pauseSharingLocation(for: FindMyLocate.FindMyID, duration: FindMyLocate.PauseDuration) async throws final func sendFriendshipInvite(to: FindMyLocate.Handle, from: FindMyLocate.Handle?, isFromGroup: Swift.Bool) async throws -> FindMyLocate.FriendshipRequestResult final func sendFriendshipInvite(_: FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult final func startUpdatingFriends(receiveInitialUpdates: Swift.Bool) async throws -> Swift.AsyncStream<FindMyLocate.FriendStreamChange> final func cachedOfferExpiration(for: FindMyLocate.Handle, groupId: Swift.String?) async -> Foundation.Date? final func handlesRecentlyViewed(recency: Swift.Duration) async throws -> [FindMyLocate.Friend] final func resumeSharingLocation(for: FindMyLocate.FindMyID) async throws final func processLocationPayload(_: Foundation.Data) async throws final func redonatePersonEntities() async throws final func respondToInviteRequest(_: FindMyLocate.FriendshipRequest) async throws -> FindMyLocate.FriendshipRequestResult final func stopRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, clientID: FindMyLocate.ClientID) async throws final func stopRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws final func stopRefreshingLocation(for: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, clientID: FindMyLocate.ClientID) async throws final func stopRefreshingLocation(for: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws final func stopRefreshingLocation(clientID: FindMyLocate.ClientID) async throws final func stopRefreshingLocation() async throws final func allowFriendshipRequests(allowed: Swift.Bool) async throws final func startRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Swift.Bool, clientID: FindMyLocate.ClientID) async throws final func startRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Swift.Bool) async throws -> Swift.AsyncStream<FindMyLocate.LocationStreamChange> final func startRefreshingLocation(forHandles: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws -> Swift.AsyncStream<FindMyLocate.LocationStreamChange> final func startRefreshingLocation(_: FindMyLocate.LocationRequest, clientID: FindMyLocate.ClientID) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func startRefreshingLocation(_: FindMyLocate.LocationRequest) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func thisDeviceWithCompanion() async throws -> FindMyLocate.DeviceWithCompanion final func friendsWithPendingOffers() async throws -> [FindMyLocate.Friend] final func processIDSServiceMessage(_: Foundation.Data) async throws -> Foundation.Data final func allPeopleWithUpdateStream() async throws -> ([FindMyLocate.UnifiedPerson], Swift.AsyncStream<[FindMyLocate.FindMyID : FindMyLocate.PersonChangeEvent]>) final func stewieServiceStateChanged(_: FindMyLocate.SecureLocationsStewie.ServiceState) async final func stopMonitoringStewieState() async throws final func addHandlesToLocationStream(_: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Swift.Bool, clientID: FindMyLocate.ClientID) async throws final func addHandlesToLocationStream(_: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority, reverseGeocode: Swift.Bool) async throws final func addHandlesToLocationStream(_: [FindMyLocate.Handle], priority: FindMyLocate.LocatePriority) async throws final func dismissStewieNotifications() async throws final func startMonitoringStewieState() async throws -> Swift.AsyncStream<FindMyLocate.SecureLocationsStewie.ServiceState> final func activeLocationSharingDevice(cached: Swift.Bool) async throws -> FindMyLocate.Device final func areFriendshipRequestsAllowed(cached: Swift.Bool) async throws -> Swift.Bool final func emulateShowSaveMeAlertCommand() async throws final func friendsSharingLocationsWithMe(filter: @Sendable (_: FindMyLocate.Friend) -> Swift.Bool) async throws -> [FindMyLocate.Friend] final func friendsSharingLocationsWithMe() async throws -> [FindMyLocate.Friend] final func handlesRecentlyStartedSharing(recency: Swift.Duration) async throws -> [FindMyLocate.Friend] final func locationSharingCapableDevices() async throws -> FindMyLocate.LocationSharingCapableDevices final func processLocationCommandPayload(_: Foundation.Data) async throws final func cachedFriendsWithPendingOffers() async -> [FindMyLocate.Friend] final func publishCurrentLocationToStewie() async throws -> FindMyLocate.SecureLocationsStewie.PublishResult final func setActiveLocationSharingDevice(_: Swift.String) async throws final func startMonitoringPreferencesChange() async throws -> Swift.AsyncStream<FindMyLocate.PreferenceStreamChange> final func includeDeviceInHomeKitAutomations() async throws -> Swift.Bool final func triggerStewieProactiveNotification() async throws final func cachedFriendsSharingLocationsWithMe() async -> [FindMyLocate.Friend] final func locationSharingCapableDevicesStream() async throws -> some Swift.AsyncSequence<FindMyLocate.LocationSharingCapableDevices, Swift.Never> final func friendsRequestedToShareLocationWithMe() async throws -> [FindMyLocate.Friend] final func subscribeToBackgroundProactiveLocations(clientID: FindMyLocate.ClientID) async throws final func subscribeToBackgroundProactiveLocations() async throws final func cachedFriendsRequestedToShareLocationWithMe() async -> [FindMyLocate.Friend] final func startMonitoringActiveLocationSharingDeviceChange() async throws -> Swift.AsyncStream<FindMyLocate.DeviceStreamChange> final func fences() async throws -> [FindMyLocate.Fence] final func labels() async throws -> [FindMyLocate.LocationLabel] final func update(labels: [FindMyLocate.LocationLabel]) async throws final func addFence(_: FindMyLocate.Fence) async throws -> FindMyLocate.Fence final func favorite(findMyID: FindMyLocate.FindMyID) async throws final func recordId(for: FindMyLocate.Handle) async throws -> Swift.String? final func allPeople() async throws -> [FindMyLocate.UnifiedPerson] final func locations(for: [FindMyLocate.Handle], reverseGeocode: Swift.Bool) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func locations(for: [FindMyLocate.Handle]) async throws -> [FindMyLocate.Handle : FindMyLocate.Location] final func peerToken(peer: FindMyLocate.Handle) async throws -> __C.NIDiscoveryToken? final func saveFence(_: FindMyLocate.Fence) async throws -> FindMyLocate.Fence static var fmfIsAllowedInRegion: Swift.Bool { get } static var fmfIsRestrictedInScreenTime: Swift.Bool { get } static var fmfIsRestrictedOnDevice: Swift.Bool { get } static var hasCorrectPermissionsForLocationSharing: Swift.Bool { get } static var isiCloudProvisionedForLocationSharing: Swift.Bool { get } static func sharedSession(origin: FindMyLocate.ClientOrigin) -> FindMyLocate.Session static func sharedSession(_: FindMyLocate.RequestOrigin) -> FindMyLocate.Session static func trustedNow() -> Foundation.Date deinit }