Package com.reactivereality.pictofitcore.network.upload.model

Types

RRConfigurationResult
Link copied to clipboard
data class RRConfigurationResult(id: String, configurationId: String, format: String, files: List<RRConfigurationResultFile>)
RRConfigurationResultFile
Link copied to clipboard
data class RRConfigurationResultFile(id: String, name: String, url: String, configurationId: String)
RRConfigurations
Link copied to clipboard
data class RRConfigurations(id: String, productId: String, results: List<RRConfigurationResult>)
RRContentUploadAPIConfig
Link copied to clipboard
data class RRContentUploadAPIConfig(baseUrl: String, customerId: String, accessToken: String)
RRCreateConfigurationRequest
Link copied to clipboard
data class RRCreateConfigurationRequest(product: RRProduct)
RRCreateProductRequest
Link copied to clipboard
class RRCreateProductRequest(customerId: String, name: String, captureModeType: RRCaptureModeType, metadata: RRProductMetadata)
RRDeviceInfo
Link copied to clipboard

This data class holds information about the device. This can help narrowing down uploads to the ContentService to a specific hardware, which e.g helps with debugging. It is part of the RRProductMetadata and uploaded alongside other information when creating a new product.

data class RRDeviceInfo @JvmOverloads() constructor(platform: String, deviceName: String, osVersion: Float)
RRGenderType
Link copied to clipboard
enum RRGenderType : Enum<RRGenderType>
RRProduct
Link copied to clipboard
open class RRProduct(id: String, stateId: Int, customerId: String, typeId: Int, customerName: String, name: String, metadata: RRProductMetadata?)
RRProductAvatar
Link copied to clipboard
data class RRProductAvatar(id: String, stateId: Int, customerId: String, typeId: Int, customerName: String, name: String, metadata: RRProductMetadata?, gender: RRGenderType, avatarName: String, bodyHeight: Any) : RRProduct
RRProductMetadata
Link copied to clipboard
data class RRProductMetadata(userInput: RRUserInput, captureStages: List<RRCaptureStage>, deviceInfo: RRDeviceInfo)
RRUploadFileRequest
Link copied to clipboard
data class RRUploadFileRequest(configurationId: String, uploadImage: RRUploadImage)
RRUploadImage
Link copied to clipboard
class RRUploadImage(file: File, name: String)
RRUserInput
Link copied to clipboard

Part of the RRProductMetadata when uploading a new 3D avatar product to the ContentService, after performing a successful capture session.

data class RRUserInput(gender: RRGenderType, avatarName: String, bodyHeight: Float, numImagesUploaded: Int, capturingDuration: Float, exposureBias: Float)