Skip to content

Commit dbf5f48

Browse files
committed
3.1.0
1 parent 70332da commit dbf5f48

File tree

95 files changed

+11686
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+11686
-171
lines changed
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/PebbleKit-Static

PebbleKit.framework/Versions/A/Headers/PBDataLoggingService.h PebbleKit-Static.framework/Versions/A/Headers/PBDataLoggingService.h

+9-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
NS_ASSUME_NONNULL_BEGIN
1212

13+
@class PBWatch;
14+
1315
/**
1416
* Data logging datatypes.
1517
*/
@@ -229,10 +231,16 @@ PB_EXTERN_CLASS @interface PBDataLoggingService : NSObject
229231
*/
230232
- (void)setDelegateQueue:(dispatch_queue_t)delegateQueue;
231233

234+
/**
235+
* Query the latestConnectedWatch for data logging data.
236+
*/
237+
- (void)pollForData __deprecated_msg("Method deprecated. Use `pollForDataFromWatch:`");
238+
232239
/**
233240
* Query the watch for data logging data.
241+
* @param watch The watch to query data from.
234242
*/
235-
- (void)pollForData;
243+
- (void)pollForDataFromWatch:(PBWatch *)watch;
236244

237245
@end
238246

PebbleKit.framework/Versions/A/Headers/PBDefines.h PebbleKit-Static.framework/Versions/A/Headers/PBDefines.h

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// Copyright (c) 2015 Pebble Technology. All rights reserved.
77
//
88

9+
#import <Foundation/Foundation.h>
10+
911
#ifndef PB_EXTERN
1012
# ifdef __cplusplus
1113
# define PB_EXTERN extern "C" __attribute__((visibility ("default")))

PebbleKit.framework/Versions/A/Headers/PBErrors.h PebbleKit-Static.framework/Versions/A/Headers/PBErrors.h

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ typedef enum {
4444
PBErrorCodeMessageTooLong,
4545
PBErrorCodeBluetoothDisabled,
4646
PBErrorCodeBluetoothLowEnergyHandshakeFailed,
47+
PBErrorCodeFirmwareUpdateMetadataInvalid
4748
} PBErrorCode;
4849

4950
@interface NSError (Pebble)

PebbleKit.framework/Versions/A/Headers/PBLogConfig.h PebbleKit-Static.framework/Versions/A/Headers/PBLogConfig.h

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#import <PebbleKit/PBDefines.h>
1010

1111
PB_EXTERN int const PBKitContext;
12-
PB_EXTERN int const PBWSContext;
1312

1413
/**
1514
* All logging will be sent through this function.

PebbleKit.framework/Versions/A/Headers/PBPebbleCentral+Legacy.h PebbleKit-Static.framework/Versions/A/Headers/PBPebbleCentral+Legacy.h

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ NS_ASSUME_NONNULL_BEGIN
2525
*/
2626
+ (void)setDebugLogsEnabled:(BOOL)logsEnabled __deprecated_msg("Method deprecated. Use `setLogLevel:`");
2727

28+
@property (nonatomic, readonly) PBDataLoggingService * __nullable dataLoggingService __deprecated_msg("Method deprecated. Use `dataLoggingServiceForAppUUID:`");
29+
2830
@end
2931

3032
NS_ASSUME_NONNULL_END

PebbleKit.framework/Versions/A/Headers/PBPebbleCentral.h PebbleKit-Static.framework/Versions/A/Headers/PBPebbleCentral.h

+5-2
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,12 @@ PB_EXTERN_CLASS @interface PBPebbleCentral : NSObject
9595
/**
9696
Returns the most recently connected watch from the -registeredWatches array.
9797
*/
98-
- (PBWatch*)lastConnectedWatch;
98+
- (PBWatch *)lastConnectedWatch;
9999

100-
@property (nonatomic, readonly) PBDataLoggingService *dataLoggingService;
100+
/**
101+
Returns the DataLoggingService for a (previously registered) appUUID
102+
*/
103+
- (PBDataLoggingService * __nullable)dataLoggingServiceForAppUUID:(NSUUID *)appUUID;
101104

102105
@end
103106

PebbleKit.framework/Versions/A/Headers/PBVersionInfo.h PebbleKit-Static.framework/Versions/A/Headers/PBVersionInfo.h

+7-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
#import <PebbleKit/PBResourceMetadata.h>
1515

1616

17-
typedef NS_OPTIONS(NSUInteger, PBRemoteProtocolCapabilitiesFlags) {
17+
typedef NS_OPTIONS(uint64_t, PBRemoteProtocolCapabilitiesFlags) {
1818
PBRemoteProtocolCapabilitiesFlagsAppRunState = 1 << 0,
1919
PBRemoteProtocolCapabilitiesFlagsInfiniteLogDumping = 1 << 1, // unused
2020
PBRemoteProtocolCapabilitiesFlagsUpdateMusicProtocol = 1 << 2, // unused
2121
PBRemoteProtocolCapabilitiesFlagsExtendedNotificationService = 1 << 3, // unused
2222
PBRemoteProtocolCapabilitiesFlagsLanguagePacksSupported = 1 << 4, // unused
2323
PBRemoteProtocolCapabilitiesFlagsAppMessage8kSupported = 1 << 5,
24-
PBRemoteProtocolCapabilitiesFlagsDismissFromPhoneSupported = 1 << 6,
24+
PBRemoteProtocolCapabilitiesFlagsInsightsSupport = 1 << 6,
2525
PBRemoteProtocolCapabilitiesFlagsThirdPartyVoiceSupported = 1 << 7,
2626
};
2727

@@ -93,6 +93,11 @@ PB_EXTERN_CLASS @interface PBVersionInfo : NSObject
9393
*/
9494
- (BOOL)hasSystemResources;
9595

96+
/**
97+
* YES if app messages are supported, NO if not.
98+
*/
99+
- (BOOL)appMessagesSupported;
100+
96101
@end
97102

98103
NS_ASSUME_NONNULL_END

PebbleKit.framework/Versions/A/Headers/PBWatch+AppMessages.h PebbleKit-Static.framework/Versions/A/Headers/PBWatch+AppMessages.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
2121
* @param watch The watch on which the query was performed.
2222
* @param isAppMessagesSupported YES if AppMessages are supported, NO if not.
2323
*/
24-
- (void)appMessagesGetIsSupported:(void(^)(PBWatch *watch, BOOL isAppMessagesSupported))fetchedBlock;
24+
- (void)appMessagesGetIsSupported:(void(^)(PBWatch *watch, BOOL isAppMessagesSupported))fetchedBlock __deprecated_msg("Method deprecated. Use `getVersionInfo:onTimeout:` and `versionInfo.appMessagesSupported` instead.");
2525

2626
/**
2727
* Pushes an update to the watch application with UUID as set using

PebbleKit.framework/Versions/A/Headers/PebbleKit.h PebbleKit-Static.framework/Versions/A/Headers/PebbleKit.h

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
#import <Foundation/Foundation.h>
1010

11+
//! Project version number for PebbleKit.
12+
FOUNDATION_EXPORT double PebbleKitVersionNumber;
13+
14+
//! Project version string for PebbleKit.
15+
FOUNDATION_EXPORT const unsigned char PebbleKitVersionString[];
16+
1117
#import <PebbleKit/PBLogConfig.h>
1218

1319
#import <PebbleKit/PBWatch.h>
Binary file not shown.

PebbleKit-Static.podspec

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Pod::Spec.new do |s|
2+
s.name = "PebbleKit-Static"
3+
s.version = "3.1.0"
4+
s.summary = "Embed PebbleKit iOS into your app to communicate with Pebble"
5+
s.homepage = "https://github.com/pebble/pebble-ios-sdk"
6+
s.license = {
7+
:type => 'Commercial',
8+
:text => <<-LICENSE
9+
© 2015 Pebble Technology Corp. All rights reserved.
10+
LICENSE
11+
}
12+
s.author = { "Pebble Technology Corp." => "[email protected]" }
13+
s.source = { :git => "https://github.com/pebble/pebble-ios-sdk.git", :tag => s.version }
14+
15+
s.platform = :ios, '7.0'
16+
s.requires_arc = true
17+
18+
s.header_dir = 'PebbleKit'
19+
s.preserve_paths = "PebbleKit-Static.framework"
20+
s.vendored_frameworks = "PebbleKit-Static.framework"
21+
s.public_header_files = "PebbleKit-Static.framework/Versions/A/Headers/*.h"
22+
23+
s.frameworks = 'Foundation', 'UIKit', 'CoreGraphics'
24+
s.weak_frameworks = 'ExternalAccessory', 'CoreBluetooth'
25+
end

PebbleKit-iOS.docset/Contents/Resources/Documents/Blocks/PBVersionInfoCompletionBlock.html

+26-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<head>
44
<meta charset="utf-8">
55

6-
<title></title>
6+
<title>PBVersionInfoCompletionBlock Block Reference</title>
77

88
<link rel="stylesheet" href="../css/style.css">
99
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
10-
10+
<meta name="generator" content="appledoc 2.2.1 (build 1334)">
1111
</head>
1212
<body class="appledoc">
1313
<header>
@@ -59,22 +59,44 @@ <h1 id="library-title">
5959
<div id="overview_contents" class="container">
6060
<div id="content">
6161
<main role="main">
62-
<h1 class="title"></h1>
62+
<h1 class="title">PBVersionInfoCompletionBlock Block Reference</h1>
6363

6464

65+
<div class="section section-specification"><table cellspacing="0"><tbody>
66+
<tr>
67+
<th>Declared in</th>
68+
<td>PBWatch+Version.h</td>
69+
</tr>
70+
</tbody></table></div>
71+
6572

6673

6774

6875

6976

7077

78+
79+
80+
<a title="Block Definition" name="instance_methods"></a>
81+
<h4 class="method-subtitle parameter-title">Block Definition</h4>
82+
<h3 class="subsubtitle method-title">PBVersionInfoCompletionBlock</h3>
83+
84+
85+
<code>typedef void (^PBVersionInfoCompletionBlock) (PBWatch *watch, PBVersionInfo *versionInfo)</code>
86+
87+
88+
89+
90+
7191
</main>
7292

7393
<footer>
7494
<div class="footer-copyright">
7595

76-
<p class="copyright">Copyright &copy; 2015 Pebble Technology Corp. All rights reserved. Updated: 2015-10-08</p>
96+
<p class="copyright">Copyright &copy; 2015 Pebble Technology Corp. All rights reserved. Updated: 2015-12-08</p>
97+
7798

99+
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
78100

79101
</div>
80102
</footer>

PebbleKit-iOS.docset/Contents/Resources/Documents/Categories/NSData+Pebble.html

+105-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<head>
44
<meta charset="utf-8">
55

6-
<title></title>
6+
<title>NSData(Pebble) Category Reference</title>
77

88
<link rel="stylesheet" href="../css/style.css">
99
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
10-
10+
<meta name="generator" content="appledoc 2.2.1 (build 1334)">
1111
</head>
1212
<body class="appledoc">
1313
<header>
@@ -45,8 +45,24 @@ <h1 id="library-title">
4545

4646

4747

48+
49+
<option value="tasks">Tasks</option>
50+
51+
52+
53+
54+
55+
56+
4857

4958

59+
<optgroup label="Instance Methods">
60+
61+
<option value="//api/name/dictionaryFromPebbleDictionaryDataWithError:">- dictionaryFromPebbleDictionaryDataWithError:</option>
62+
63+
</optgroup>
64+
65+
5066
</select>
5167
</label>
5268
</li>
@@ -59,22 +75,107 @@ <h1 id="library-title">
5975
<div id="overview_contents" class="container">
6076
<div id="content">
6177
<main role="main">
62-
<h1 class="title"></h1>
78+
<h1 class="title">NSData(Pebble) Category Reference</h1>
6379

6480

81+
<div class="section section-specification"><table cellspacing="0"><tbody>
82+
<tr>
83+
<th>Declared in</th>
84+
<td>NSDictionary+Pebble.h</td>
85+
</tr>
86+
</tbody></table></div>
87+
6588

6689

6790

6891

92+
93+
<div class="section section-tasks">
94+
<a title="Tasks" name="tasks"></a>
95+
6996

97+
98+
99+
100+
<div class="task-list">
101+
<div class="section-method">
102+
<a name="//api/name/dictionaryFromPebbleDictionaryDataWithError:" title="dictionaryFromPebbleDictionaryDataWithError:"></a>
103+
<h3 class="method-title"><code><a href="#//api/name/dictionaryFromPebbleDictionaryDataWithError:">&ndash;&nbsp;dictionaryFromPebbleDictionaryDataWithError:</a></code>
104+
</h3>
105+
106+
<div class="method-info">
107+
<div class="pointy-thing"></div>
108+
109+
<div class="method-info-container">
110+
111+
112+
<div class="method-subsection brief-description">
113+
<p>Interprets the receiver as Pebble dict data and deserializes it into an NSDictionary.</p>
114+
</div>
115+
116+
117+
118+
<div class="method-subsection method-declaration"><code>- (NSDictionary *)dictionaryFromPebbleDictionaryDataWithError:(NSError *__autoreleasing *)<em>error</em></code></div>
119+
120+
121+
122+
<div class="method-subsection arguments-section parameters">
123+
<h4 class="method-subtitle parameter-title">Parameters</h4>
124+
<table class="argument-def parameter-def">
125+
126+
<tr>
127+
<th scope="row" class="argument-name"><code>error[out]</code></th>
128+
<td><p>Pointer to an NSError that will be set after the method has returned
129+
in case there was an error. Possible error codes: PBErrorCodeDictionaryInternalConsistency.</p></td>
130+
</tr>
131+
132+
</table>
133+
</div>
134+
135+
136+
137+
138+
139+
140+
141+
<div class="method-subsection discussion-section">
142+
<h4 class="method-subtitle">Discussion</h4>
143+
<p>Interprets the receiver as Pebble dict data and deserializes it into an NSDictionary.</p>
144+
</div>
145+
146+
147+
148+
149+
150+
151+
152+
<div class="method-subsection declared-in-section">
153+
<h4 class="method-subtitle">Declared In</h4>
154+
<p><code class="declared-in-ref">NSDictionary+Pebble.h</code></p>
155+
</div>
156+
157+
158+
</div>
159+
</div>
160+
</div>
161+
</div>
162+
163+
</div>
164+
165+
166+
167+
70168

169+
71170
</main>
72171

73172
<footer>
74173
<div class="footer-copyright">
75174

76-
<p class="copyright">Copyright &copy; 2015 Pebble Technology Corp. All rights reserved. Updated: 2015-10-08</p>
175+
<p class="copyright">Copyright &copy; 2015 Pebble Technology Corp. All rights reserved. Updated: 2015-12-08</p>
176+
77177

178+
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
78179

79180
</div>
80181
</footer>

0 commit comments

Comments
 (0)