AdNetwork enum

The ad networks unified_ads knows about.

A network is only usable at runtime when its adapter package (for example unified_ads_admob) is a dependency of the app and has registered itself with the AdapterRegistry.

Inheritance
Available extensions

Values

admob → const AdNetwork

Google AdMob (Google Mobile Ads SDK).

const AdNetwork('admob', 'AdMob')
unity → const AdNetwork

Unity Ads (standalone SDK).

const AdNetwork('unity', 'Unity Ads')
applovin → const AdNetwork

AppLovin MAX.

const AdNetwork('applovin', 'AppLovin MAX')
ironsource → const AdNetwork

ironSource / Unity LevelPlay.

const AdNetwork('ironsource', 'ironSource LevelPlay')
facebook → const AdNetwork

Facebook Audience Network, branded Meta Audience Network since 2022 (documented stub; see SDK_STATUS.md).

const AdNetwork('facebook', 'Facebook Audience Network')
startapp → const AdNetwork

Start.io (formerly StartApp).

const AdNetwork('startapp', 'Start.io')
inmobi → const AdNetwork

InMobi.

const AdNetwork('inmobi', 'InMobi')

Properties

displayName → String
Human-readable name for logs and UIs.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable identifier used in JSON configuration and channel names.
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

tryParse(String id) → AdNetwork?
Returns the network whose id equals id, or null if none matches.

Constants

values → const List<AdNetwork>
A constant List of the values in this enum, in order of their declaration.