Android APIs
Added in API level 23
public static interface

MediaSync.OnErrorListener

android.media.MediaSync.OnErrorListener

Class Overview

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

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

Added in API level 23

Called to indicate an error.

Parameters
sync The MediaSync the error pertains to
what The type of error that has occurred:
extra an extra code, specific to the error. Typically implementation dependent.