SCiO Versions
June 21, 2016
There are a few versions of SCiO, and models might be compatible across versions, but with degraded performance. As a developer, you may want to verify which SCiO version is used and block or approve its spectra prior to analysis.
The following code sample sets a new name for the SCiO device:
__weak typeof(&*self)weakSelf = self; [[CPScioCloud sharedInstance] getSCiOVersionByDeviceID:[[CPScioDevice sharedInstance] getDeviceID] completion:^(NSString *SCiOVersion, NSError *error) { NSLog(@"SCiO version:%@", SCiOVersion); [weakSelf alertWithTitle:@"SCiO Version" message:SCiOVersion]; }];
Leave a Reply
You must be logged in to post a comment.