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.h
Go to the documentation of this file.
1 //
2 // WFDisplayConnectionDelegate.h
3 // WFConnector
4 //
5 // Created by Murray Hughes on 23/05/12.
6 // Copyright (c) 2012 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "WFDisplayTypes.h"
11 
12 @class WFDisplayConnection, WFDisplayConfiguration;
13 
14 @protocol WFDisplayConnectionDelegate <NSObject>
15 
21 - (WFDisplayConfiguration*) configurationForDisplayConnection:(WFDisplayConnection*) connection;
22 
26 - (void) displayConnection:(WFDisplayConnection*) connection didButtonDown:(int) buttonIndex;
27 
31 - (void) displayConnection:(WFDisplayConnection*) connection didButtonUp:(int) buttonIndex;
32 
36 - (void) displayConnection:(WFDisplayConnection*) connection visablePageChanged:(NSString*) visablePageKey;
37 
42 - (void) displayConnectionDidStartConfigurationLoading:(WFDisplayConnection*) connection;
43 
44 - (void) displayConnection:(WFDisplayConnection*) connection didProgressConfigurationLoading:(float) progress;
45 
46 - (void) displayConnectionDidFinishConfigurationLoading:(WFDisplayConnection*) connection;
47 
48 - (void) displayConnection:(WFDisplayConnection*) connection didFailConfigurationLoadingWithError:(NSError*) error;
49 
50 
60 @optional
61 
62 - (void) displayConnection:(WFDisplayConnection*) connection didRespondBacklightOn:(BOOL) backlightOn error:(NSError*) error;
63 
64 - (void) displayConnection:(WFDisplayConnection*) connection didRespondDisplayInverted:(BOOL) inverted error:(NSError*) error;
65 
66 - (void) displayConnection:(WFDisplayConnection*) connection didRespondPageVisableWithKey:(NSString*) pageKey error:(NSError*) error;
67 
68 - (void) displayConnection:(WFDisplayConnection*) connection didRespondDate:(NSDate*) date timeZone:(NSTimeZone*) timeZone error:(NSError*) error;
69 
70 - (void) displayConnection:(WFDisplayConnection*) connection didRespondAutoPageScrollWithDelay:(NSTimeInterval) delay error:(NSError*) error;
71 
72 - (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;
73 
74 - (void) displayConnection:(WFDisplayConnection*) connection didRespondShouldSleepOnDisconnect:(BOOL) sleepOnDisconnect error:(NSError*) error;
75 
76 - (void) displayConnection:(WFDisplayConnection*) connection didRespondNotificationDisplay:(BOOL) enabled error:(NSError*) error;
77 
78 
79 
80 @end
Definition: WFDisplayConfiguration.h:13
wf_display_time_format_e
Definition: WFDisplayTypes.h:173
wf_display_date_format_e
Definition: WFDisplayTypes.h:161
Definition: WFDisplayConnectionDelegate.h:14
wf_display_day_e
Definition: WFDisplayTypes.h:182
signed char BOOL
Definition: types.h:110
wf_display_watch_face_style_e
Definition: WFDisplayTypes.h:196