Inherits from NSObject
Declared in Bit6CurrentLocationController.h

Overview

This controller is used to obtain user’s current location.

Instance Methods

init

Unavailable init. Use Bit6.locationController instead.

- (instancetype)init

Return Value

a new instance of the class.

Declared In

Bit6CurrentLocationController.h

startListeningToLocationForMessage:delegate:

Starts listening to the user’s location.

- (void)startListeningToLocationForMessage:(Bit6OutgoingMessage *)msg delegate:(nullable id<Bit6CurrentLocationControllerDelegate>)delegate

Parameters

msg

a Bit6OutgoingMessage object where the user’s location will be included.

delegate

delegate to be notified when the location has been obtained. For information about the methods you can implement for your delegate object, see Bit6CurrentLocationControllerDelegate Protocol Reference.

Declared In

Bit6CurrentLocationController.h

stopListeningToLocation

Stops listening to the user’s location

- (void)stopListeningToLocation

Declared In

Bit6CurrentLocationController.h