Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WFProximityConnection.h
Go to the documentation of this file.
1 //
2 // WFProximityConnection.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 12/19/11.
6 // Copyright (c) 2011 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/WFSensorConnection.h>
11 #import <WFConnector/WFProximityDelegate.h>
12 
13 
14 @class WFProximityData;
15 
16 
21 {
24  id<WFProximityDelegate> proximityDelegate;
25 
27 }
28 
29 
34 @property (nonatomic, retain ) id<WFProximityDelegate> proximityDelegate;
35 
36 
45 - (WFProximityData*)getProximityData;
46 
57 - (BOOL)isInRange;
58 
68 - (BOOL)sendImmediateAlert:(WFBTLEChAlertLevel_t)alertLevel;
69 
82 - (BOOL)setAlertLevel:(WFBTLEChAlertLevel_t)alertLevel;
83 
99 - (BOOL)setProximityAlertThreshold:(WFProximityAlertThreshold_t)threshold alertLevel:(WFBTLEChAlertLevel_t)alertLevel;
100 
113 - (BOOL)setProximityMode:(WFProximityAlertMode_t)mode;
114 
115 @end
WFProximityAlertMode_t
Describes the proximity alert mode.
Definition: hardware_connector_types.h:609
WFBTLEChAlertLevel_t
Describes the alert level for the BTLE Alert Level characteristic.
Definition: hardware_connector_types.h:594
signed char BOOL
Definition: types.h:110
WFProximityAlertThreshold_t
Describes the threshold for proximity alert.
Definition: hardware_connector_types.h:628
Provides the interface for callback methods used by the WFProximityConnection.
Definition: WFProximityDelegate.h:19
id< WFProximityDelegate > proximityDelegate
Specifies the WFProximityDelegate instance which will handle callback methods for this WFProximityCon...
Definition: WFProximityConnection.h:35
Represents the data available from the BTLE Proximity sensor.
Definition: WFProximityData.h:23
Represents a connection to a BTLE Proximity sensor.
Definition: WFProximityConnection.h:20
Represents the connection for an ANT sensor.
Definition: WFSensorConnection.h:43