MMAppSettings Class Reference

Inherits from NSObject
Declared in MMAppSettings.h

Overview

The object used to configure persistent app-wide settings which are integral for SDK operation.

  siteId

The siteId of this application.

@property (nonatomic, copy, nullable) NSString *siteId

Discussion

The siteId of this application.

Declared In

MMAppSettings.h

  mediator

The mediator initializing ad requests. Should only be set by mediation adapters.

@property (nonatomic, copy, nullable) NSString *mediator

Discussion

The mediator initializing ad requests. Should only be set by mediation adapters.

Declared In

MMAppSettings.h

  coppa

Returns the current state of COPPA (Children’s Online Privacy Protection Act) for the SDK.

@property (nonatomic, readonly, nullable) NSString *coppa

Discussion

Returns the current state of COPPA (Children’s Online Privacy Protection Act) for the SDK.

Returns nil if this value has not been explicitly set, otherwise returns MMAppSettingsCOPPAEnabled or MMAppSettingsCOPPADisabled.

Declared In

MMAppSettings.h

– setCoppaCompliance:

Set to YES to enforce COPPA (Children’s Online Privacy Protection Act) restrictions on ads returned by the ad server.

- (void)setCoppaCompliance:(BOOL)compliance

Parameters

compliance

Whether COPPA compliance is enforced.

Discussion

Set to YES to enforce COPPA (Children’s Online Privacy Protection Act) restrictions on ads returned by the ad server.

Declared In

MMAppSettings.h