MobileAdTargetingInfo class

Targeting info per the native AdMob API.

This class's properties mirror the native AdRequest API. See for example: AdRequest.Builder for Android.

Constructors

MobileAdTargetingInfo({List<String> keywords, String contentUrl, @Deprecated('This functionality is deprecated in AdMob without replacement.') DateTime birthday, @Deprecated('This functionality is deprecated in AdMob without replacement.') MobileAdGender gender, @Deprecated('Use `childDirected` instead.') bool designedForFamilies, bool childDirected, List<String> testDevices, bool nonPersonalizedAds})
const

Properties

birthday DateTime
final
childDirected bool
final
contentUrl String
final
designedForFamilies bool
final
gender MobileAdGender
final
hashCode int
The hash code for this object.
no setterinherited
keywords List<String>
final
nonPersonalizedAds bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testDevices List<String>
final

Methods

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

Operators

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