PWLocationSharingDelegate Protocol Reference

Conforms to NSObject
Declared in PWLocationSharingDelegate.h

Overview

This protocol defines a set of methods that you can use to receive shared locations.

– didUpdateSharedLocations: required method

Tells the delegate that it has retrieved all shared locations

- (void)didUpdateSharedLocations:(NSSet<PWSharedLocation*> *)sharedLocations

Parameters

sharedLocations

The current list of all shared locations

Declared In

PWLocationSharingDelegate.h

– didAddSharedLocations:

Passes a set of only added shared locations to the delegate

- (void)didAddSharedLocations:(NSSet<PWSharedLocation*> *)addedSharedLocations

Parameters

addedSharedLocations

Shared locations that just started sharing

Declared In

PWLocationSharingDelegate.h

– didRemoveSharedLocations:

Passes a set of only removed shared locations to the delegate

- (void)didRemoveSharedLocations:(NSSet<PWSharedLocation*> *)removedSharedLocations

Parameters

removedSharedLocations

Shared locations that just stopped sharing

Declared In

PWLocationSharingDelegate.h