FBSetDataProcessingOptionsCommand class

A class representing a command to configure data processing options for the Meta App Ads SDK.

This class allows you to specify how user data is processed by the SDK, including enabling or disabling Limited Data Use (LDU) and potentially providing location information.

Please refer to meta documentation (https://developers.facebook.com/docs/app-events/guides/data-processing-options)

Properties:

  • modes: A list of strings representing the desired data processing modes.
  • country: An optional integer representing the user's country code (ISO 3166-1 alpha-2 format).
  • state: An optional integer representing the user's state code (relevant for specific countries).

Constructors

FBSetDataProcessingOptionsCommand({required List<String> modes, int? country, int? state})

Properties

country int?
final
hashCode int
The hash code for this object.
no setterinherited
modes List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited