Initiating Basic Shoot
About SpyneSDK Function
SpyneSDK function is an object where all the configuration settings are set up for Spyne iOS SDK. SpyneSDK function expects basic parameters and allows you to use advanced functionalities as well.
Create a SpyneSDK function
SpyneSDK function expects 5 values,
- api_key is a unique enterprise key at Spyne end that fetch the configurations
- categoryId defines the category for which SDK has to be initialised
- userId helps in creating/mapping a user in Spyne database. It is suggested to pass an emailId of the user in this parameter.
- skuId is used in SKU naming in Spyne database. It is suggested to pass a car registration number in skuId
- frameNumber denotes the count of exterior angles to be shot by the user.
SpyneSDK Object
SpyneSDK.shared.onCreate(
presentingByViewController: UIViewController,
api_Key: "myapikey",
categoryId: "autocategoryId",
userId: "myuserId",
skuID: "carRegistrationNumber",
frameNumber: 8
)
api_Key: "myapikey",
categoryId: "autocategoryId",
userId: "myuserId",
skuID: "carRegistrationNumber",
frameNumber: 8
Updated almost 2 years ago