AdvertisingState

final class AdvertisingState : Sendable

Undocumented

Internal

  • Undocumented

    Declaration

    Swift

    static let shared: AdvertisingState
  • Undocumented

    Declaration

    Swift

    var adsEnabled: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var userAllowsAdvertising: Bool { get set }
  • Do any setup necessary to initialize the advertising state

    Declaration

    Swift

    func initialize()
  • A view that displays a Google Ad

    Declaration

    Swift

    @ViewBuilder
    func googleAdView(for key: String) -> some View