-
public interface HyprMXIf.HyprMXAudioAdListenerThe Audio Ad listener.
When provided, HyprMX will callback to onAdAudioStart when an Audio ad has requested the audio stream. HyprMX will callback to onAdAudioEnd when the audio ad has completed audio.
The application listening to these event should pause their MEDIA stream on onAdAudioStart and resume on onAdAudioEnd
-
-
Method Summary
Modifier and Type Method Description abstract UnitonAdAudioStart()The Audio Ad started playing. abstract UnitonAdAudioEnd()The Audio Ad stopped playing. -
-
Method Detail
-
onAdAudioStart
abstract Unit onAdAudioStart()
The Audio Ad started playing.
-
onAdAudioEnd
abstract Unit onAdAudioEnd()
The Audio Ad stopped playing.
-
-
-
-