Advanced SDK Configuration

List of Advanced features

There are certain additional features available in Spyne Android SDK which may help solve your use-case. Though we're working day by day to ensure covering all the industry use-cases, below given features are currently available,

Document
To elimiate the hassle of user selecting subcategory id
To receive location information of user on SKU level and image level while shooting
To allow non-restrictive Gyrometer flow in Spyne SDK
To allow non-restrictive Classifier flow in Spyne SDK
To evoke the correct webhook endpoint to receive images
To allow multiple shots of similar interior and miscellaneous image types
To evoke a part of configured angles
To receive meta-data information on your webhook endpoint
To allow user to choose between different angle types
To restrict user to pass images in a certain count

Detailed Description of Advanced Features

Passing subCategoryId:

Spyne SDK allow subCategoryId to be directly passed in the Shoot builder function.
subCategoryId accepts fixed string value.
Below given values are currently accepted for the sub-categories,

  1. Sedan: prod_Gcg69Rkxa

  2. Hatchback: prod_seY3vxhATCH
  3. SUV: prod_seY3vxSUV

  4. Van: prod_van
  5. Sports: prod_sport
builder.subcategoryId(subcategoryId: "prod_Gcg69Rkxa")

Gyrometer configuration & GyrometerVar:

Gyrometer allows to control the roll and pitch of the device held by user. To ensure, users are clicking pictures with correct roll and pitch, Gyro-meter is necessary. Spyne SDK gives multiple options to adjust the restrictiveness of Gyro-meter as required.

Options for Gyro-meter Restrictiveness:

  1. Restrictive [default] will not allow user to click picture out of the allowed Gyro values
  2. Non-Restrictive will allow the users to click picture even out of the Gyro values
builder.gyroMeter(Gyrometer.RESTRICTIVE)

Options to set up the Gyro-meter delta:

Spyne SDK allows you to pass an integer value between 5 degrees - 20 degrees, which acts as a delta to which Gyro-meter should accept the value. For instance, GyrometerVar = 10 degrees, Gyro-meter will work at 80 (90 - 10) degrees and 100 (90 + 10) degrees both.

builder.gyroMeterVar(gyroMeterRollDelta:10)

Classifier configuration

Classifier are our internal tech-innovation, a set of AI models which make sure the user has taken picture in the best possible way to ensure a good output. Spyne SDK allows you to set up the restrictiveness of Classifiers alike to Gyro-meter.

Options for Classifier Restrictiveness:

  1. Restrictive [default] will not allow the users to move forward if the classifier result fails
  2. Non-Restrictive will allow the users to move forward even if the classifier result fails
builder.classifier(Classifier.RESTRICTIVE)

Language Configuration

Language configuration accepts a string value which you can send for specific language requirements for the sdk flow.

builder.languageConfig(LanguageConfig(languageCode = "en"))

Meta-data Configuration

Meta-data accepts a string value which you can send in case you need any data for debugging.
This string data value will be available with each unique Spyne SKUID through Spyne public API.

builder.metaDeta(metaDeta: "my test shoot")