AdVideoEvent enum
The video events a NativeAdController can receive. Listen
to the events using controller.onVideoEvent.listen((event) {})
.
Avaiable events:
- start (When the video starts)
- play (When the video is played)
- pause (When the video is paused)
- end (When the avideo reaches the end)
- muted (When the video is muted)
- unmuted (When the video is unmuted)
For more info, read the documentation
Constructors
- AdVideoEvent()
-
const
Values
- start → const AdVideoEvent
-
Called when the video starts. This is called only once
- play → const AdVideoEvent
-
Called when the video is played. This can be called multiple times while the video is running
- pause → const AdVideoEvent
-
Called when the video is somehow paused, either for user interaction or programatically
- end → const AdVideoEvent
-
Called when the video reaches the end
- muted → const AdVideoEvent
-
Called when the video is muted
- unmuted → const AdVideoEvent
-
Called when the video is unmuted
Properties
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
Constants
-
values
→ const List<
AdVideoEvent> - A constant List of the values in this enum, in order of their declaration.