MoatOptions
@available(*, deprecated, message: "This type is no longer available and will be removed in a future version.")
@objc(THEOplayerMoatOptions)
public class MoatOptions : NSObject, AnalyticsDescription, Codable
Configure Moat analytics pre-integration.
-
The type of
AnalyticsIntegration
.Declaration
Swift
@objc public var integration: AnalyticsIntegration
-
Constructs a MoatOptions object.
Declaration
Swift
@objc public convenience init(partnerCode: String, locationServicesEnabled: Bool = true, IDFACollectionEnabled: Bool = true, debugLoggingEnabled: Bool = false)
Parameters
partnerCode
The Moat partnerCode.
locationServicesEnabled
If ‘true’ then the SDK will attempt to use the device’s location services for more precise location data. Defaults to true.
IDFACollectionEnabled
If ‘true’ then the SDK will attempt to use the device’s IDFA for more precise user info. Defaults to true.
debugLoggingEnabled
If ‘true’ and a ‘MOAT_LOGGING’ environment variable is set in Xcode, then the SDK will log information to assist in the implementation and testing process. Defaults to false.