Created
December 6, 2013 21:38
-
-
Save waltflanagan/7832532 to your computer and use it in GitHub Desktop.
RangeSDK feedback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
NSString * const kRDRangeUid; | |
NSString * const kRDSamples; | |
NSString * const kRDTime; | |
NSString * const kRDTemperature; | |
@interface RangeData () | |
// An Array of dictionaries of temperature + metadata | |
@property (readwrite) NSArray* samples; | |
@property (readwrite) NSString* rangeUid; | |
// This should never be called via the sdk. | |
// There is never a reason to initilize a RangeData object ever. That is all done internally | |
- (id) initWithFrames:(void *) input_data_frames fromSender:(NSString*) senderUid withNumFrames:(int) frames_processed; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface RangeData : NSObject | |
// An Array of dictionaries of temperature + metadata | |
@property (readonly) NSArray* samples; | |
@property (readonly) NSString* rangeUid; | |
// Convenience function for just getting the numerical value of the last item in the | |
// RangeData object | |
// It returns nil if the number of samples is 0. | |
- (NSNumber*) mostRecentTemperature; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment