ConsentManagementPresentationResult
public enum ConsentManagementPresentationResult : Sendable
An enumeration representing the possible outcomes of presenting a consent management form.
-
Indicates that the consent management presentation was successful.
Declaration
Swift
case success -
Indicates that the consent management presentation was not required. This may occur if user consent is already obtained or deemed unnecessary.
Declaration
Swift
case notRequired -
Indicates that the consent management presentation is disabled. This can happen when presentation of the consent interface is turned off via configuration.
Declaration
Swift
case presentationDisabled -
Indicates that there was a failure during the consent management presentation.
Declaration
Swift
case failure(Error)Parameters
errorAn
Errorinstance providing details about the reason of the failure.