MetaAppEvents class

Explicit, inert-until-bootstrap Meta App Events interface.

Constructors

MetaAppEvents.forTesting({required bool isWeb})

Properties

advertiserIdCollectionEnabled → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
isEnabled → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenantId → String?
no setter

Methods

bootstrap(MetaAppEventsConfig config) → Future<bool>
completeRegistration({required String challengeId}) → Future<bool>
OTP completion is explicit and carries only an opaque challenge ID.
disable() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestTrackingAuthorization() → Future<bool>
toString() → String
A string representation of this object.
inherited
viewContent({required String contentId, required String contentType}) → Future<bool>
Sends only the fixed ViewContent event and an allowlisted content ID/type.

Operators

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

Static Properties

instance → MetaAppEvents
final