AdSupportable

public protocol AdSupportable : AnyObject

Provide apps with access to an advertising identifier and a flag indicating whether a device is using limited ad tracking.

  • A Boolean value that indicates whether the user has limited ad tracking.

    Declaration

    Swift

    var isTrackingEnabled: Bool { get set }
  • An alphanumeric string unique to each device, used only for serving advertisements.

    Declaration

    Swift

    var advertisingIdentifier: String? { get set }
  • A Boolean value that indicates advertisingIdentifier is valid and user provides consent

    Declaration

    Swift

    var isValid: Bool { get }