createIntent

open override fun createIntent(context: Context, input: SpreeAITryOn.TryOn): Intent

Creates an Intent to launch the SpreeAIActivity.

This method packages the input arguments into the intent's extras and applies custom animations for the activity transition.

Return

An Intent configured to start the virtual try-on flow.

Parameters

context

The Context required to create the intent and access animation resources.

input

The SpreeAITryOn.TryOn data object containing the parameters for the try-on session.