removeListener


Purpose

Removes a listener for Media Audio events.

Signature

Audio.removeListener( callbacks )

Returns

This method does not return anything.

Parameter

Name Description Type Use
callbacks Passed to process the events. object required

Callback structure

The callback object can be structured as follows:

{
  onPlayed: function( )  { ... },
  onRecorded: function( payload )  { ... },
  onStopped: function( payload )  { ... },
  onPaused: function( payload ) { ... },
  onFailure: function( error ) { ... }
}

For details on individual methods, refer to the addListener article.

Related topics

Media
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...