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
WFDiscoveryManager Class Reference

#import <WFDiscoveryManager.h>

+ Inheritance diagram for WFDiscoveryManager:
+ Collaboration diagram for WFDiscoveryManager:

Instance Methods

(void) - cancelDiscovery
 Cancels device discovery on the specified network. More...
 
(NSArray *) - discoveredDevices
 Devices discovered in the currnet discovery process. More...
 
(void) - discoverSensorTypes:onNetwork:
 Initiates device discovery on the specified network(s). More...
 

Protected Attributes

WFANTDiscovery * antDiscoveryManager
 
WFBTLEDiscovery * btleDiscoveryManager
 
NSMutableArray * mutableDiscoveredDevices
 

Properties

id< WFDiscoveryManagerDelegatedelegate
 

Method Documentation

- (void) cancelDiscovery

Cancels device discovery on the specified network.

- (NSArray*) discoveredDevices

Devices discovered in the currnet discovery process.

Returns
An NSArray containing zero or more WFDeviceInformation instances representing all devices discovered.
- (void) discoverSensorTypes: (NSArray *)  sensorTypes
onNetwork: (WFNetworkType_t networkType 

Initiates device discovery on the specified network(s).

Note
Device discovery for the SUUNTO network is not supported at this time.
Parameters
sensorTypesThe array of WFSensorType_t to discover (wraped in NSNumbers). If this value is nil, a wildcard discovery is performed.
networkTypeThe network on which to perform the discovery or a mask of multiple networks.

Member Data Documentation

- (WFANTDiscovery*) antDiscoveryManager
protected
- (WFBTLEDiscovery*) btleDiscoveryManager
protected
- (NSMutableArray*) mutableDiscoveredDevices
protected

Property Documentation

- (id< WFDiscoveryManagerDelegate >) delegate
readwritenonatomicassign