Spree AITry On Contract
An ActivityResultContract for launching the Spree AI virtual try-on flow.
This contract defines the necessary inputs (SpreeAITryOn.TryOn) to start the SpreeAIActivity and parses the output into a structured SpreeAITryOn.Result. It's used internally by rememberSpreeAITryOn and the SpreeAITryOn constructors to handle the activity lifecycle in a type-safe manner.
Functions
Link copied to clipboard
Creates an Intent to launch the SpreeAIActivity.
Link copied to clipboard
Parses the result from the SpreeAIActivity into a SpreeAITryOn.Result.