isUserConsentObtained property

  1. @JsonKey(name: "isUserConsentObtainedListenable", toJson: toNull, fromJson: toNull, includeIfNull: false, includeToJson: false)
ValueListenable<bool> isUserConsentObtained
final

Indicates whether the user has given consent to use the Aiuta SDK.

If the user has not given consent, the Aiuta SDK will start with the onboarding flow ending with the consent screen. Otherwise, the Aiuta SDK will start with the main screen where the user can select the photo to start virtual try-on.

Implementation

@JsonKey(
    name: "isUserConsentObtainedListenable",
    toJson: toNull,
    fromJson: toNull,
    includeIfNull: false,
    includeToJson: false)
final ValueListenable<bool> isUserConsentObtained;