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
<WFAntFSDeviceDelegate> Protocol Reference

Defines the interface for callback methods used by the WFAntFSDevice and its derived classes. More...

#import <WFAntFSDeviceDelegate.h>

+ Inheritance diagram for <WFAntFSDeviceDelegate>:
+ Collaboration diagram for <WFAntFSDeviceDelegate>:

Instance Methods

(void) - antFSDevice:instanceCreated:
 Invoked when the WFAntFSDevice instance has been created. More...
 

Detailed Description

Defines the interface for callback methods used by the WFAntFSDevice and its derived classes.

This protocol defines the callback interface commonly used by all types of ANT FS devices. The WFAntFileManagerDelegate and WFClientDelegate extend this protocol with the callback interface for host-mode or client-mode ANT FS respectively. It is not normally advisable to adopt the WFAntFSDeviceDelegate protocol directly, but rather through the WFAntFileManagerDelegate or WFAntFSClientDelegate, depending on the ANT FS mode.

Method Documentation

- (void) antFSDevice: (WFAntFSDevice *)  fsDevice
instanceCreated: (BOOL bSuccess 
required

Invoked when the WFAntFSDevice instance has been created.

See the requestAntFSDevice:toDelegate: (WFHardwareConnector(AntFS)) method for documentation regarding instantiating a WFAntFSDevice.

Note
This method is REQUIRED for classes adopting the WFAntFSDeviceDelegate protocol.
Parameters
fsDeviceThe WFAntFSDevice instance. This instance is passed as the base class WFAntFSDevice. As this base class does not define functionallity useful to the application, the reference should be cast to the specific type appropriate for the WFAntFSDeviceType_t requested. For example, if WF_ANTFS_DEVTYPE_GARMIN_FR310 was specified in the requestAntFSDevice:toDelegate: (WFHardwareConnector(AntFS)) call, the specific type of the instance returned is WFGarminFR310Manager.
bSuccessTRUE if the instance was created, otherwise FALSE.