ByteArkAdsSettings class

Settings for advertisements within the ByteArk Player.

Constructors

ByteArkAdsSettings({required String? adTagUrl, bool? enableDefaultCompanionSlot, Pair<int, int>? defaultCompanionSize})
Constructs an ByteArkAdsSettings with the specified ad settings.

Properties

adTagUrl String?
The URL for the ad tag.
final
defaultCompanionSize Pair<int, int>?
The default size of the companion ad.
final
enableDefaultCompanionSlot bool?
Enables or disables the default companion ad slot.
final
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
toMap() Map<String, dynamic>
Converts the ads settings to a map for easier processing.
toString() String
A string representation of this object.
inherited

Operators

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