SplashAd class

Constructors

SplashAd({required SplashAdType adType, SplashAdDisplayListener? displayListener, SplashAdLoadListener? loadListener, String? ownerText, String? footerText, String? logoResId, String? logoBgResId, String? mediaNameResId, String? sloganResId, String? wideSloganResId, int? audioFocusType})

Properties

adType SplashAdType
getter/setter pair
audioFocusType int?
getter/setter pair
displayListener SplashAdDisplayListener?
getter/setter pair
footerText String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
no setter
loadListener SplashAdLoadListener?
getter/setter pair
logoBgResId String?
getter/setter pair
logoResId String?
getter/setter pair
mediaNameResId String?
getter/setter pair
ownerText String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sloganResId String?
getter/setter pair
wideSloganResId String?
getter/setter pair

Methods

destroy() Future<bool?>
isLoaded() Future<bool?>
isLoading() Future<bool?>
loadAd({required String adSlotId, required int orientation, required AdParam adParam, double topMargin = 0.0}) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<bool?>
resume() Future<bool?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

splashAds Map<int, SplashAd?>
final

Static Methods

preloadAd({required String adSlotId, int? orientation, AdParam? adParam}) Future<bool?>