# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# MediaSync.OnErrorListener

`public static interface MediaSync.OnErrorListener`
``

android.media.MediaSync.OnErrorListener

Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).

## Summary

### Public methods
`abstract void` | `onError(MediaSync sync, int what, int extra)` Called to indicate an error.

## Public methods

### onError

    public abstract void onError (MediaSync sync,
                    int what,
                    int extra)

Called to indicate an error.

Parameters
`sync` | `MediaSync`: The MediaSync the error pertains to This value cannot be `null`.
`what` | `int`: The type of error that has occurred: `MediaSync.MEDIASYNC_ERROR_AUDIOTRACK_FAIL` `MediaSync.MEDIASYNC_ERROR_SURFACE_FAIL`
`extra` | `int`: an extra code, specific to the error. Typically implementation dependent.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*