/* * CLLocationPushServiceExtension.h * CoreLocation * * Copyright © 2021 Apple Inc. All rights reserved. */ #import #import NS_ASSUME_NONNULL_BEGIN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst) @protocol CLLocationPushServiceExtension @required // Call the completion handler once the location push has been handled. - (void)didReceiveLocationPushPayload:(NSDictionary *)payload completion:(void (^)(void))completion; @optional // Called just before this extension is terminated by the system. - (void)serviceExtensionWillTerminate; @end NS_ASSUME_NONNULL_END