parse Result
Parses the result from the SpreeAIActivity into a SpreeAITryOn.Result.
This method converts the integer resultCode and the data from the result Intent into one of the sealed SpreeAITryOn.Result types, providing a structured and type-safe outcome.
Return
A SpreeAITryOn.Result representing the outcome of the try-on flow.
Parameters
result Code
The integer result code returned from the activity (e.g., RESULT_OK).
intent
The Intent returned from the activity, which may contain extra data.