增加了benginLogPageView

This commit is contained in:
zhangqinghe
2015-01-16 10:42:06 +08:00
parent 3d74b92952
commit 4e687db4d3
3 changed files with 69 additions and 10 deletions
+13
View File
@@ -118,6 +118,19 @@
[APService stopLogPageView:pageName];
}
}
-(void)beginLogPageView:(CDVInvokedUrlCommand*)command{
NSArray *arguments=command.arguments;
if (!arguments||[arguments count]<2) {
NSLog(@"beginLogPageView argument error");
return ;
}
NSString * pageName=[arguments objectAtIndex:0];
int duration=[[arguments objectAtIndex:0]intValue];
if (pageName) {
[APService beginLogPageView:pageName duration:duration];
}
}
-(void)setBadge:(CDVInvokedUrlCommand*)command{
NSArray *argument=command.arguments;