Bit6CurrentLocationControllerDelegate Protocol Reference
Conforms to | NSObject |
Declared in | Bit6CurrentLocationController.h |
Overview
The Bit6CurrentLocationControllerDelegate protocol defines the methods a delegate of a Bit6CurrentLocationController object should implement. The methods of this protocol notify your delegate when the user’s location has been obtained.
Tasks
-
– currentLocationController:didFailWithError:message:
required method -
– currentLocationController:didGetLocationForMessage:
required method
Instance Methods
currentLocationController:didFailWithError:message:
Called when the user’s location couldn’t be obtained.
- (void)currentLocationController:(nonnull Bit6CurrentLocationController *)b6clc didFailWithError:(nonnull NSError *)error message:(nonnull Bit6OutgoingMessage *)message
Parameters
- b6clc
The controller object obtaining the user’s location.
- error
the error object describing the problem to obtain the location
- message
same message object set in [Bit6CurrentLocationController startListeningToLocationForMessage:delegate:] with the user’s location set.
Declared In
Bit6CurrentLocationController.h
currentLocationController:didGetLocationForMessage:
Called when the user’s location has been obtained.
- (void)currentLocationController:(nonnull Bit6CurrentLocationController *)b6clc didGetLocationForMessage:(nonnull Bit6OutgoingMessage *)message
Parameters
- b6clc
The controller object obtaining the user’s location.
- message
same message object set in [Bit6CurrentLocationController startListeningToLocationForMessage:delegate:] with the user’s location set.
Declared In
Bit6CurrentLocationController.h