UnityAdsBase class

Unity Rewarded Ads plugin for Flutter applications.

Implementers

Constructors

UnityAdsBase()

Properties

hashCode int
The hash code for this object.
no setterinherited
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 Properties

channel MethodChannel
no setter
channels Map<String, MethodChannel>
no setter

Static Methods

initialize({required String gameId, Function? onComplete, dynamic onFailed(UnityMediationInitializationError error, String errorMessage)?}) Future<void>
Initializes Unity Mediation. UnityMediation should be initialized when app starts.
loadErrorFromString(String error) → UnityMediationAdsLoadError
showErrorFromString(String error) → UnityMediationAdsShowError