AdvertisingId class
A class that provides methods to interact with the advertising ID and limit ad tracking settings of the platform.
Constructors
Properties
-
Retrieves the current tracking authorization status of the device. Please not that this will always
return
TrackingAuthorizationStatus.authorizedon Android.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
limitAdTrackingEnabled
→ Future<
bool?> -
Checks whether the "Limit Ad Tracking" setting is enabled on the device.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAdvertisingId(
[bool requestTrackingAuthorization = false]) → Future< String?> - Retrieves the advertising ID of the device.
-
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