present()
Esta página aún no está disponible en tu idioma.
Opens the measuring / try-on window for a product, full screen over activity.
@JvmOverloadspublic fun present(activity: ComponentActivity, product: String, step: OpenStep? = null)Parameters
Section titled “Parameters”activityComponentActivityObligatorioAn androidx ComponentActivity.
productStringObligatorioYour product ID or SKU.
stepOpenStep?Opcional= nullOpenStep.CREATE, IMPROVE or VIEW.
Example
Section titled “Example”tys.present(activity, "SKU-123") // or step = OpenStep.VIEWtys.present(product: "SKU-123") // or step: .view, from: viewControllerpresent("SKU-123"); // or present("SKU-123", "view")await tys.present('SKU-123'); // or step: OpenStep.view¿Te ha resultado útil esta página?
Gracias. Leemos todas las respuestas.