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
WFDisplayPage.h
Go to the documentation of this file.
1 //
2 // WFDisplayPage.h
3 // WFConnector
4 //
5 // Created by Murray Hughes on 16/12/12.
6 // Copyright (c) 2012 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/WFDisplayElement.h>
11 #import <WFConnector/_WFDisplayPage.h>
12 
13 
14 @interface WFDisplayPage : _WFDisplayPage <NSCopying>
15 {
16  NSString* _key;
17  BOOL _hidden;
18  NSString* _comment;
19  NSArray* _elements;
20  NSString* _soundKey;
21 }
22 
23 // Key used to identify the page. This value must be unique to all other pages.
24 @property (nonatomic, copy) NSString* key;
25 
26 // Sets if the page is hidden from normal page toggling function. Page can be manually shown via the API.
27 @property (nonatomic, assign, getter = isHidden) BOOL hidden;
28 
29 // String that can be used to store anything you want, not used internally
30 @property (nonatomic, copy) NSString* comment;
31 
32 
33 // Array of dictionaries representing elements.
34 @property (nonatomic, readonly) NSArray* elements;
35 
36 @property (nonatomic, copy) NSString* soundKey;
37 
38 
39 // Add element tot the display page
40 - (void) addElement:(WFDisplayElement*) element;
41 - (void) removeElement:(WFDisplayElement*) element;
42 - (void) removeAllElements;
43 
44 - (NSMutableData*) updateHiddenProperty;
45 
46 @end
Definition: _WFDisplayPage.h:12
signed char BOOL
Definition: types.h:110
Definition: WFDisplayElement.h:17