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 (atomic, 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 (atomic, 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 (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 convey to ad buyers that COPPA (Children’s Online Privacy Protection Act) restrictions need to be enforced for requests from this user.

- (void)setCoppaCompliance:(BOOL)compliance

Parameters

compliance

Whether COPPA compliance is enforced.

Discussion

Set to YES to convey to ad buyers that COPPA (Children’s Online Privacy Protection Act) restrictions need to be enforced for requests from this user.

Declared In

MMAppSettings.h

  mraidIncludeBundleID

Set to YES to include the app’s bundle identifier, e.g. “com.company.appname”, within the MRAID environment settings.

@property (atomic) BOOL mraidIncludeBundleID

Discussion

Set to YES to include the app’s bundle identifier, e.g. “com.company.appname”, within the MRAID environment settings.

Default is NO.

Declared In

MMAppSettings.h

  mraidIncludeIDFA

Set to YES to include the Identifier For Advertiser within the MRAID environment settings.

@property (atomic) BOOL mraidIncludeIDFA

Discussion

Set to YES to include the Identifier For Advertiser within the MRAID environment settings.

Default is NO.

Declared In

MMAppSettings.h