Developer Terms and Conditions The Development Molecular Sensing Models How to get Consumer Physics Models in our own mobile app using sdk? Reply To: How to get Consumer Physics Models in our own mobile app using sdk?

#43585
Ayelet
Keymaster

Hi Gaurav,

 

Have you checked out our online guide?

 

This may be helpful (found in the online guide under ‘Get Consumer Physics Models’) –

 

Get ConsumerPhysics models info (name, ID, supported SCiO versions, etc.) and use them to analyze your scans.

Each model has a “supportedSCiOVersions” array property that contains all the supported SCiO versions for the specific model.

  • __weak typeof(&*self)weakSelf = self;
  • [[CPScioCloud sharedInstance] getCPModelsWithCompletion:^(BOOL success, NSArray *models, NSError *error) {
  • if (success) {
  • [weakSelf modelsScreenWithModels:models];
  • return;
  • }
  • // Error
  • dispatch_async(dispatch_get_main_queue(), ^{
  • [weakSelf alertWithTitle:error.userInfo[NSLocalizedDescriptionKey] mes-sage:error.userInfo[NSLocalizedFailureReasonErrorKey]];
  • });
  • }];}