UserConsentForm
public struct UserConsentForm<NextActionView, CancelActionView, AllowActionView, DenyActionView, NotNowActionView, UserConsentPages> where NextActionView : View, CancelActionView : View, AllowActionView : View, DenyActionView : View, NotNowActionView : View, UserConsentPages : IndexedViewContainer
extension UserConsentForm: View
Undocumented
-
init(nextAction:
cancelAction: allowAction: denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
Declaration
Swift
public var body: some View { get }
Available where NextActionView
== _ConditionalContent<_Action
, EmptyView
>, CancelActionView
== _ConditionalContent<_Action
, EmptyView
>, AllowActionView
== _ConditionalContent<_Action
, EmptyView
>, DenyActionView
== _ConditionalContent<_Action
, EmptyView
>, NotNowActionView
== _ConditionalContent<_Action
, EmptyView
>, UserConsentPages
== _UserConsentPagesContainer
-
Undocumented
Declaration
Swift
public init(model: UserConsentFormModel)
-
init(nextAction:
cancelAction: allowAction: denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init(nextAction: _Action? = _Action(model: _NextActionDefault()), cancelAction: _Action? = _Action(model: _CancelActionDefault()), allowAction: _Action? = _Action(model: _AllowActionDefault()), denyAction: _Action? = _Action(model: _DenyActionDefault()), notNowAction: _Action? = _Action(model: _NotNowActionDefault()), userConsentPages: [UserConsentPageModel] = [], isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil)
-
init(cancelAction:
allowAction: denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
allowAction: denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
cancelAction: denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
cancelAction: allowAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
cancelAction: allowAction: denyAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(allowAction:
denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(cancelAction:
denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(cancelAction:
allowAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(cancelAction:
allowAction: denyAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
denyAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
allowAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
allowAction: denyAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
cancelAction: notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
cancelAction: denyAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
cancelAction: allowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(denyAction:
notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder denyAction: () -> DenyActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(allowAction:
notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(allowAction:
denyAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder allowAction: () -> AllowActionView, @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(cancelAction:
notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(cancelAction:
denyAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(cancelAction:
allowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @ViewBuilder allowAction: () -> AllowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
notNowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
denyAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
allowAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder allowAction: () -> AllowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
init(nextAction:
cancelAction: userConsentPages: isRequired: alertConfiguration: didAllow: didDeny: didCancel: ) Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @ViewBuilder cancelAction: () -> CancelActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
Undocumented
Declaration
Swift
public init( @ViewBuilder notNowAction: () -> NotNowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
Undocumented
Declaration
Swift
public init( @ViewBuilder denyAction: () -> DenyActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
Undocumented
Declaration
Swift
public init( @ViewBuilder allowAction: () -> AllowActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
Undocumented
Declaration
Swift
public init( @ViewBuilder cancelAction: () -> CancelActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
Undocumented
Declaration
Swift
public init( @ViewBuilder nextAction: () -> NextActionView, @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )
-
Undocumented
Declaration
Swift
public init( @IndexedViewBuilder userConsentPages: () -> UserConsentPages, isRequired: Bool = true, alertConfiguration: ((UserConsentAlertType) -> AlertConfiguration?)? = _UserConsentFormAlertConfigurationDefault, didAllow: (() -> Void)? = nil, didDeny: ((Bool) -> Void)? = nil, didCancel: (() -> Void)? = nil )