public static interface MediaSync.OnErrorListener
| android.media.MediaSync.OnErrorListener |
在异步操作期间发生错误时要调用的回调的接口定义(其他错误将在方法调用时引发异常)。
公共方法(Public methods) |
|
|---|---|
abstract void |
onError(MediaSync sync, int what, int extra) 被调用以指示错误。 |
void onError (MediaSync sync, int what, int extra)
被调用以指示错误。
| 参数(Parameters) | |
|---|---|
sync |
MediaSync: The MediaSync the error pertains to |
what |
int: The type of error that has occurred:
|
extra |
int: an extra code, specific to the error. Typically implementation dependent. |