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

#import <WFDisplayConnectionDelegate.h>

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

Instance Methods

(WFDisplayConfiguration *) - configurationForDisplayConnection:
 Delegate method called when the conneciton is ready to receive a configuation file. More...
 
(void) - displayConnection:didButtonDown:
 Delegate method when a button is pressed down. More...
 
(void) - displayConnection:didButtonUp:
 Delegate method when a button is release. More...
 
(void) - displayConnection:didFailConfigurationLoadingWithError:
 
(void) - displayConnection:didProgressConfigurationLoading:
 
(void) - displayConnection:didRespondAutoPageScrollWithDelay:error:
 
(void) - displayConnection:didRespondBacklightOn:error:
 Delegate methods for settings. More...
 
(void) - displayConnection:didRespondDate:timeZone:error:
 
(void) - displayConnection:didRespondDateFormat:timeFormat:startDayOfWeek:watchfaceStyle:error:
 
(void) - displayConnection:didRespondDisplayInverted:error:
 
(void) - displayConnection:didRespondNotificationDisplay:error:
 
(void) - displayConnection:didRespondPageVisableWithKey:error:
 
(void) - displayConnection:didRespondShouldSleepOnDisconnect:error:
 
(void) - displayConnection:visablePageChanged:
 Delegate method when the visable page is changed by the user or the iOS device. More...
 
(void) - displayConnectionDidFinishConfigurationLoading:
 
(void) - displayConnectionDidStartConfigurationLoading:
 Delegate methods for config loading progress and errors. More...
 

Method Documentation

- (WFDisplayConfiguration*) configurationForDisplayConnection: (WFDisplayConnection *)  connection

Delegate method called when the conneciton is ready to receive a configuation file.

If nil, the display will display "No Config" " If the configation matches the one loaded on the device, it doesn't bother reloading it.

- (void) displayConnection: (WFDisplayConnection *)  connection
didButtonDown: (int)  buttonIndex 

Delegate method when a button is pressed down.

Always called regardless of configuration

- (void) displayConnection: (WFDisplayConnection *)  connection
didButtonUp: (int)  buttonIndex 

Delegate method when a button is release.

Always called regardless of configuration

- (void) displayConnection: (WFDisplayConnection *)  connection
didFailConfigurationLoadingWithError: (NSError *)  error 
- (void) displayConnection: (WFDisplayConnection *)  connection
didProgressConfigurationLoading: (float)  progress 
- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondAutoPageScrollWithDelay: (NSTimeInterval)  delay
error: (NSError *)  error 
optional
- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondBacklightOn: (BOOL backlightOn
error: (NSError *)  error 
optional

Delegate methods for settings.

Most settings have a GET and SET method, either will result in the same 'Responsd' callback

If unsuccessful, "error" is set with the encountered failure.

- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondDate: (NSDate *)  date
timeZone: (NSTimeZone *)  timeZone
error: (NSError *)  error 
optional
- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondDateFormat: (wf_display_date_format_e dateFormat
timeFormat: (wf_display_time_format_e timeFormat
startDayOfWeek: (wf_display_day_e startDayOfWeek
watchfaceStyle: (wf_display_watch_face_style_e watchfaceStyle
error: (NSError *)  error 
optional
- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondDisplayInverted: (BOOL inverted
error: (NSError *)  error 
optional
- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondNotificationDisplay: (BOOL enabled
error: (NSError *)  error 
optional
- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondPageVisableWithKey: (NSString *)  pageKey
error: (NSError *)  error 
optional
- (void) displayConnection: (WFDisplayConnection *)  connection
didRespondShouldSleepOnDisconnect: (BOOL sleepOnDisconnect
error: (NSError *)  error 
optional
- (void) displayConnection: (WFDisplayConnection *)  connection
visablePageChanged: (NSString *)  visablePageKey 

Delegate method when the visable page is changed by the user or the iOS device.

- (void) displayConnectionDidFinishConfigurationLoading: (WFDisplayConnection *)  connection
- (void) displayConnectionDidStartConfigurationLoading: (WFDisplayConnection *)  connection

Delegate methods for config loading progress and errors.