Merge pull request #166 from Microsoft/metrics-sdk-changes

Metrics SDK Changes
This commit is contained in:
Geoffrey Goh
2016-01-28 20:20:04 -08:00
9 changed files with 327 additions and 129 deletions

View File

@@ -95,6 +95,14 @@ failCallback:(void (^)(NSError *err))failCallback;
@end
@interface CodePushTelemetryManager : NSObject
+ (NSDictionary *)getBinaryUpdateReport:(NSString *)appVersion;
+ (NSDictionary *)getRollbackReport:(NSDictionary *)lastFailedPackage;
+ (NSDictionary *)getUpdateReport:(NSDictionary *)currentPackage;
@end
typedef NS_ENUM(NSInteger, CodePushInstallMode) {
CodePushInstallModeImmediate,
CodePushInstallModeOnNextRestart,