isBackgroundExecutionAllowed property

bool isBackgroundExecutionAllowed
final

Whether background execution is allowed. When the user closes the SDK while the try-on is being generated, the try-on will continue to be generated in the background if isBackgroundExecutionAllowed is true.

Otherwise the SDK will stop the try-on operation status checking, will not show the result and will not add the try-on result to the generations history.

Note: That the try-on will be completed on the server side in any case.

Implementation

final bool isBackgroundExecutionAllowed;