# class EventSignal1<E, R>

#### package com.turner.top.lib.events

#### extends EventSignal<E>

#### implements ISignal1<R>

#### extended by FullscreenEnteredEvent, FullscreenExitedEvent, AdBlockedEvent, AdCreativeEndedEvent, AdCreativeStartedEvent, AdErrorEvent, AdFinishedEvent, AdLoadedEvent, AdMuteChangedEvent, AdPausedEvent, AdRequestCanceledEvent, AdRequestCompletedEvent, AdRequestErrorEvent, AdRequestStateChangedEvent, AdRequestingEvent, AdResumedEvent, AdSlotEndedEvent, AdSlotStartedEvent, AdStartedEvent, AdStartingEvent, AdStateChangedEvent, AdStoppedEvent, AdTimeChangedEvent, AdVolumeChangedEvent, AdModelPropertyChangedEvent, CCErrorEvent, CCSettingsUpdatedEvent, CCStateChangedEvent, CCTrackAvailabilityChangedEvent, CCTrackSelectedEvent, CueActivatedEvent, CueMessageDispatchedEvent, CueProcessedEvent, CueStateChangedEvent, MediaBlockedEvent, MediaBufferingFinishedEvent, MediaBufferingStartedEvent, MediaCommandReceivedEvent, MediaCommandRejectedEvent, MediaErrorEvent, MediaFinishedEvent, MediaLoadedEvent, MediaMuteChangedEvent, MediaPausedEvent, MediaProfileChangedEvent, MediaProfileChangingEvent, MediaRecoveryFinishedEvent, MediaRecoveryStartedEvent, MediaRequestProfileChangedEvent, MediaResizedEvent, MediaResumedEvent, MediaSeekingFinishedEvent, MediaSeekingStartedEvent, MediaStalledEvent, MediaStartedEvent, MediaStartingEvent, MediaStateChangedEvent, MediaStoppedEvent, MediaTimeChangedEvent, MediaTimedMetadataRecievedEvent, MediaVolumeChangedEvent, MediaModelPropertyChangedEvent, MediaStreamInfoModelPropertyChangedEvent

An event signal with one argument to send

### Constructor

###

`new (type:E)`

### Methods

###

`after ():SimpleEventSignal1<E, R>`

Triggered after the signal

###

`around ():SimpleEventSignal1<E, R>`

Triggered after 'before' and after the 'signal'

###

`before ():SimpleEventSignal1<E, R>`

Triggered before the signal

###

`dispatch (result:R):Void`

Trigger the signal to execute any registered callback functions

Parameters:

`result` | The result object to pass to listener callback functions

###

`hasListener (cb:R ‑> Void):Bool`

Check if the callback is already registered to this signal

Parameters:

`cb` | The callback function to check

Returns:

true if the callback function is registered to this signal

###

`listen (cb:R ‑> Void):Void`

Register a callback to execute if the signal is dispatched

Parameters:

`cb` | The callback function to execute

###

`observe (cb:Void ‑> Void):Void`

Register a callback to execute if the signal is dispatched

Parameters:

`cb` | The callback function to register

###

`once (cb:R ‑> Void):Void`

Registers a callback to execute if the signal is dispatched Upon dispatch, the callback will automatically be unlistened

Parameters:

`cb` | The callback function to execute once

###

`unlisten (cb:R ‑> Void):Void`

Unregister the callback from this signal

Parameters:

`cb` | The callback function to unregister

###

`unobserve (cb:Void ‑> Void):Void`

Unregister the callback from this signal

Parameters:

`cb` | The callback function to unregister

### Inherited Variables

#### Defined by EventSignal

###

`read onlytype:E`

Instace members

### Inherited Methods