UIEventAttribution class
Class that represents an object that contains event attribution information for Private Click Measurement.
Apps use event attribution objects to send data to the browser when opening an external website that supports Private Click Measurement (PCM). For more information on the proposed PCM web standard, see Introducing Private Click Measurement and Private Click Measurement Draft Community Group Report.
Check UIEventAttribution for details.
Officially Supported Platforms/Implementations:
- iOS
Constructors
- UIEventAttribution({required int sourceIdentifier, required WebUri destinationURL, required String sourceDescription, required String purchaser})
Properties
- destinationURL ↔ WebUri
-
The destination URL of the attribution.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- purchaser ↔ String
-
A string that describes the entity that purchased the attributed content.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceDescription ↔ String
-
A description of the source of the attribution.
getter/setter pair
- sourceIdentifier ↔ int
-
An 8-bit number that identifies the source of the click for attribution. Value must be between 0 and 255.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance to a map.
-
toMap(
) → Map< String, dynamic> - Converts instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → UIEventAttribution? - Gets a possible UIEventAttribution instance from a Map value.