CloudXAdFormat class

Format of an ad.

The constants are the formats this plugin can load. They are not the whole set: the native SDKs also report native and app-open ads, and the Android SDK's own CloudXAdFormat is an interface built from a name, so the set is open-ended. That is why this is not an enum - a format with no constant here arrives carrying its reported value, rather than being reported as some other format.

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The format name as the native SDKs report it (e.g. banner).
final

Methods

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

Operators

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

Constants

Banner ad format.
interstitial → const CloudXAdFormat
Interstitial ad format.
mrec → const CloudXAdFormat
MREC ad format.
rewarded → const CloudXAdFormat
Rewarded ad format.