Most visited

Recently visited

Added in API level 23

MediaSync.OnErrorListener

public static interface MediaSync.OnErrorListener

android.media.MediaSync.OnErrorListener


在异步操作期间发生错误时要调用的回调的接口定义(其他错误将在方法调用时引发异常)。

Summary

Public methods

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

被调用以指示错误。

Public methods

onError

Added in API level 23
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.

Hooray!