Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 3.66 KB

File metadata and controls

32 lines (24 loc) · 3.66 KB

clappr / io.clappr.player.base / EventInterface

EventInterface

interface EventInterface

Properties

Name Summary
id abstract val id: String

Functions

Name Summary
listenTo abstract fun listenTo(obj: EventInterface, eventName: String, handler: EventHandler): String
off abstract fun off(listenId: String): Unit
on abstract fun on(eventName: String, handler: EventHandler, obj: EventInterface): String
open fun on(eventName: String, handler: EventHandler): String
once abstract fun once(eventName: String, handler: EventHandler, obj: EventInterface): String
open fun once(eventName: String, handler: EventHandler): String
stopListening abstract fun stopListening(listenId: String?): Unit
open fun stopListening(): Unit
trigger abstract fun trigger(eventName: String, userData: Bundle?): Unit
open fun trigger(eventName: String): Unit

Inheritors

Name Summary
BaseObject open class BaseObject : EventInterface
ContainerPlugin open class ContainerPlugin : Plugin, EventInterface
CorePlugin open class CorePlugin : Plugin, EventInterface
Player open class Player : Fragment, EventInterface
Main Player class.
Plugin interface Plugin : EventInterface, NamedType